Update roaring/roaring.go

Co-authored-by: Matthew Jaffee <matthew.jaffee@gmail.com>
This commit is contained in:
tgruben 2021-02-22 11:42:48 -06:00 committed by GitHub
parent 8e27e55459
commit 18e31a63b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2282,7 +2282,7 @@ func (b *Bitmap) ImportRoaringBits(data []byte, clear bool, log bool, rowSize ui
func (b *Bitmap) MergeRoaringRawIteratorIntoExists(itr RoaringIterator, rowSize uint64) error {
if itr == nil {
return errors.New("bad roaring iterator, but don't know why")
return errors.New("nil RoaringIterator passed to MergeRoaringRawIteratorIntoExists")
}
var synthC Container
importUpdater := func(oldC *Container, existed bool) (newC *Container, write bool) {