From 26b9b9f3cf387d58f234e8e6425670a1ef9cee3f Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Tue, 6 Feb 2024 16:44:17 -0600 Subject: [PATCH] cleanup --- codex/slots/sampler/sampler.nim | 1 + 1 file changed, 1 insertion(+) 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