mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
fix
This commit is contained in:
parent
2b5b2a0e02
commit
856e73d2b2
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ let resize_minimize_memory bv size =
|
||||||
let is_empty bv =
|
let is_empty bv =
|
||||||
try
|
try
|
||||||
for i = 0 to Bytes.length bv.b - 1 do
|
for i = 0 to Bytes.length bv.b - 1 do
|
||||||
if get_ bv.b i <> 1 then raise_notrace Exit
|
if get_ bv.b i <> 0 then raise_notrace Exit
|
||||||
done;
|
done;
|
||||||
true
|
true
|
||||||
with Exit -> false
|
with Exit -> false
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue