diff --git a/bitmapcontainer.go b/bitmapcontainer.go index cd16510d..1bcb030f 100644 --- a/bitmapcontainer.go +++ b/bitmapcontainer.go @@ -819,7 +819,7 @@ func (bc *bitmapContainer) loadData(arrayContainer *arrayContainer) { } func (bc *bitmapContainer) toArrayContainer() *arrayContainer { - ac := newArrayContainerCapacity(bc.cardinality) + ac := &arrayContainer{} ac.loadData(bc) return ac }