diff options
| author | Maxime Dénès | 2017-07-11 14:44:59 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2017-07-11 14:44:59 +0200 |
| commit | 0986ee250818a5cb517b5e59fbd31e2cd1667775 (patch) | |
| tree | 01d38409f9db6202aabe16249df7d489cd853920 /lib | |
| parent | b5ad6a80107f196fa8ffcc4f5dff58bea8c4f70e (diff) | |
| parent | 032e4f2bf5cb6eadba6ebbb16dd5d0c812dd2033 (diff) | |
Merge branch 'v8.7'
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) |
