Skip to content
Snippets Groups Projects
Commit b6b77294 authored by Michele Alberti's avatar Michele Alberti
Browse files

[dataset] More robust equality check based on term equality.

parent dfdbfc9d
No related branches found
No related tags found
No related merge requests found
......@@ -143,9 +143,7 @@ let interpret_predicate env ~on_model ~on_dataset task =
in
let normalization =
List.filter_map ls_with_normalization ~f:(fun (ls, normalization) ->
if String.equal ls.ls_name.id_string dataset.ls_name.id_string
then Some normalization
else None)
if Term.ls_equal ls dataset then Some normalization else None)
in
let dataset = on_dataset dataset in
let model = on_model model in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment