From 343b634afbf12e2a4f2e48251b3f0dd89fcb86e1 Mon Sep 17 00:00:00 2001 From: Antonis Geralis Date: Sat, 3 Sep 2022 19:16:33 +0300 Subject: [PATCH] minor --- drchaos/common.nim | 2 +- drchaos/mutator.nim | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drchaos/common.nim b/drchaos/common.nim index 8282a98..cbab037 100644 --- a/drchaos/common.nim +++ b/drchaos/common.nim @@ -331,7 +331,7 @@ proc toData*[K, V](data: var openArray[byte]; pos: var int; input: (Table[K, V]| proc fromData*[K, V](data: openArray[byte]; pos: var int; output: var (Table[K, V]|OrderedTable[K, V])) = let len = readInt32(data, pos).int - for i in 0 ..< len: + for i in 0.. 1: - #var pos = 1 - #fromData(data, pos, x) when (NimMajor, NimMinor, NimPatch) >= (1, 7, 1): x = move getInput(x, data) else: