mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-07 03:35:30 -05:00
fix bug in PHashtbl
This commit is contained in:
parent
73c84e14cc
commit
2be5f2f638
1 changed files with 1 additions and 0 deletions
|
|
@ -204,6 +204,7 @@ let map f t =
|
|||
| Used (k, v, dist) ->
|
||||
t'.buckets.(i) <- Used (k, f k v, dist)
|
||||
done;
|
||||
t'.size <- t.size;
|
||||
t'
|
||||
|
||||
(** Destructive filter (remove bindings that do not satisfiy predicate) *)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue