From 3625454fbb75b9bdcd1145c211a5471d90545f71 Mon Sep 17 00:00:00 2001 From: Alex Groce Date: Sun, 2 Sep 2018 13:16:30 -0700 Subject: [PATCH] range, not value --- bin/deepstate/reducer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/deepstate/reducer.py b/bin/deepstate/reducer.py index 26a6eab..e61ab33 100644 --- a/bin/deepstate/reducer.py +++ b/bin/deepstate/reducer.py @@ -149,7 +149,7 @@ def main(): continue newTest = bytearray(currentTest) newTest[b] = currentTest[b]-1 - newTest = newTest[:b+1] + newTest[b+2] + newTest = newTest[:b+1] + newTest[b+2:] with open(".candidate.test", 'wb') as outf: outf.write(newTest) r = runCandidate(".candidate.test")