diff --git a/parallel.go b/parallel.go index 0375fe1f..9a04ffe9 100644 --- a/parallel.go +++ b/parallel.go @@ -57,7 +57,7 @@ func (h *bitmapContainerHeap) PopIncrementing() bitmapContainerKey { if newIdx < k.bitmap.highlowcontainer.size() { newKey := bitmapContainerKey{ k.bitmap, - k.bitmap.highlowcontainer.getWritableContainerAtIndex(newIdx), + k.bitmap.highlowcontainer.containers[newIdx], k.bitmap.highlowcontainer.keys[newIdx], newIdx, } @@ -98,7 +98,7 @@ func newBitmapContainerHeap(bitmaps ...*Bitmap) bitmapContainerHeap { if !bitmap.IsEmpty() { key := bitmapContainerKey{ bitmap, - bitmap.highlowcontainer.getWritableContainerAtIndex(0), + bitmap.highlowcontainer.containers[0], bitmap.highlowcontainer.keys[0], 0, }