Skip to content

Commit

Permalink
Merge pull request #108 from RoaringBitmap/bitmap_lazyior_run
Browse files Browse the repository at this point in the history
BitmapContainer invalidate cardinality on lazyIOR with RunContainer
  • Loading branch information
lemire authored Oct 21, 2017
2 parents 6abdf50 + a3be305 commit b75a08d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bitmapcontainer.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ func (bc *bitmapContainer) lazyIOR(a container) container {
setBitmapRange(bc.bitmap, int(x.iv[i].start), int(x.iv[i].last)+1)
//bc.iaddRange(int(x.iv[i].start), int(x.iv[i].last)+1)
}
bc.cardinality = invalidCardinality
//bc.computeCardinality()
return bc
}
Expand Down

0 comments on commit b75a08d

Please sign in to comment.