mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-29 16:24:26 +01:00
Fix bug in SmallBitmap
This commit is contained in:
parent
8b4e07e1a3
commit
1e6e624078
@ -22,7 +22,7 @@ impl<T> SmallBitmap<T> {
|
|||||||
} else {
|
} else {
|
||||||
Self {
|
Self {
|
||||||
internal: SmallBitmapInternal::Small(
|
internal: SmallBitmapInternal::Small(
|
||||||
vec![0; 1 + universe_length as usize / 64].into_boxed_slice(),
|
vec![0; 1 + (universe_length - 1) as usize / 64].into_boxed_slice(),
|
||||||
),
|
),
|
||||||
_phantom: PhantomData,
|
_phantom: PhantomData,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user