mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 06:44:27 +01:00
Fix bug in SmallBitmap
This commit is contained in:
parent
8b4e07e1a3
commit
1e6e624078
@ -22,7 +22,7 @@ impl<T> SmallBitmap<T> {
|
||||
} else {
|
||||
Self {
|
||||
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,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user