From 52e9027c791ddbba393a585e11f9fcc100b0abc9 Mon Sep 17 00:00:00 2001 From: tgruben Date: Thu, 10 Mar 2022 08:26:07 -0600 Subject: [PATCH] Update roaring.go --- roaring/roaring.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roaring/roaring.go b/roaring/roaring.go index afbaa6b42..c09ae4673 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() // the onlyreason we are here is because N was incorrect + c.bitmapRepair() array, fail, n = makeArray(bitmap, make([]uint16, c.N())) if fail { //this should not be able to happen under any circumstance