diff options
| author | Maxime Dénès | 2017-07-11 14:39:48 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2017-07-11 14:39:48 +0200 |
| commit | 8614fcd96d6fe538807099cde57f0c64d7e07b9d (patch) | |
| tree | 987f73a01528e8613140b73d09227464165d5fa3 /lib | |
| parent | ba7129f547d1f06c7eb67412404445681d22b920 (diff) | |
| parent | 8e573766893da2287f36111d68a21792c045cf14 (diff) | |
Merge PR #860: use Int.equal instead of polymorphic =
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/hashset.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hashset.ml b/lib/hashset.ml index 23ac2fed09..7f96627a68 100644 --- a/lib/hashset.ml +++ b/lib/hashset.ml @@ -181,7 +181,7 @@ module Make (E : EqType) = let sz = Weak.length bucket in let rec loop i = if i >= sz then ifnotfound index - else if h = hashes.(i) then begin + else if Int.equal h hashes.(i) then begin match Weak.get bucket i with | Some v when E.eq v d -> v | _ -> loop (i + 1) |
