mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-11 07:11:02 +00:00
fix offset check to make sense
This commit is contained in:
parent
c0ddbe0e3f
commit
a5918d01d9
1 changed files with 1 additions and 1 deletions
|
|
@ -924,7 +924,7 @@ func (c *container) bitmapCountRange(start, end uint32) int {
|
|||
|
||||
// Count partial ending word.
|
||||
if int(j) < len(c.bitmap) {
|
||||
if off := 64 - (end % 64); off != 0 {
|
||||
if off := 64 - (end % 64); off != 64 {
|
||||
n += popcount(c.bitmap[j] << off)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue