From 8a3bb9602d333e376a099cb23e1444cb3d1278f6 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