mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
Fix bug in SmallBitmap
This commit is contained in:
parent
8b4e07e1a3
commit
1e6e624078
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue