diff --git a/src/plotdisk/k32/CTableWriterBounded.h b/src/plotdisk/k32/CTableWriterBounded.h index 4818194f..07b02a95 100644 --- a/src/plotdisk/k32/CTableWriterBounded.h +++ b/src/plotdisk/k32/CTableWriterBounded.h @@ -352,7 +352,7 @@ class CTableWriterBounded MapWriter<_numBuckets, false> _mapWriter; uint64 _mapOffset = 0; - uint64 _mapBitCounts[BB_DP_MAX_JOBS] = {}; + uint64 _mapBitCounts[_numBuckets] = {}; Duration _tableIOWait = Duration::zero(); uint32 _threadCount = 0;