diff --git a/codex/slots/sampler/sampler.nim b/codex/slots/sampler/sampler.nim index d214c038..e04805db 100644 --- a/codex/slots/sampler/sampler.nim +++ b/codex/slots/sampler/sampler.nim @@ -39,6 +39,7 @@ func getCell*[T, H]( self: DataSampler[T, H], blkBytes: seq[byte], blkCellIdx: Natural): seq[byte] = + let cellSize = self.builder.cellSize.uint64 dataStart = cellSize * blkCellIdx.uint64