diff --git a/roaring/roaring.go b/roaring/roaring.go index c09ae4673..ffc0c3c3c 100644 --- a/roaring/roaring.go +++ b/roaring/roaring.go @@ -3594,7 +3594,7 @@ func (c *Container) bitmapToArray() *Container { if fail { // the onlyreason we are here is because N was incorrect // so we force a recount of N and try again - c.bitmapRepair() + c.bitmapRepair() array, fail, n = makeArray(bitmap, make([]uint16, c.N())) if fail { //this should not be able to happen under any circumstance