File tree 2 files changed +4
-7
lines changed
2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -1139,7 +1139,7 @@ struct
1139
1139
let transpose_keys_and_data_set _ =
1140
1140
Misc. fatal_error " transpose_keys_and_data_set not yet implemented"
1141
1141
1142
- let diff_domains _ _ = Misc. fatal_error " diff_domains not yet implemented "
1142
+ let diff_domains = diff
1143
1143
1144
1144
let fold2_stop_on_key_mismatch _ _ _ _ =
1145
1145
Misc. fatal_error " fold2_stop_on_key_mismatch not yet implemented"
Original file line number Diff line number Diff line change @@ -363,12 +363,9 @@ end = struct
363
363
if N.Map. is_empty map then Empty
364
364
else Potentially_many map
365
365
| Potentially_many map1 , Potentially_many map2 ->
366
- let map =
367
- N.Map. fold (fun name _ map -> N.Map. remove name map)
368
- map2
369
- map1
370
- in
371
- Potentially_many map
366
+ let map = N.Map. diff_domains map1 map2 in
367
+ if N.Map. is_empty map then Empty
368
+ else Potentially_many map
372
369
373
370
let union t1 t2 =
374
371
match t1, t2 with
You can’t perform that action at this time.
0 commit comments