X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=tree.ml;h=8e5dbc72be1d145282b1d01af5425ce0d19de86b;hb=bf2b1a91300ace1e7e83bd78f868a269d86498f9;hp=0a1bddab6d68f9baf426dda2ca9533749f17e688;hpb=7b6e25ac7c3b4e06c8386c1090bb69ae97a47143;p=SXSI%2Fxpathcomp.git diff --git a/tree.ml b/tree.ml index 0a1bdda..8e5dbc7 100644 --- a/tree.ml +++ b/tree.ml @@ -176,7 +176,7 @@ let text_size t = text_size t.doc module MemUnion = Hashtbl.Make (struct type t = Ptset.Int.t*Ptset.Int.t - let equal (x,y) (z,t) = x == z || y == t + let equal (x,y) (z,t) = x == z && y == t let equal a b = equal a b || equal b a let hash (x,y) = (* commutative hash *) let x = Uid.to_int (Ptset.Int.uid x)