Merge pull request #556 from natsfr/patch074

Fuzzer 074 support integer multiple of nbBlocks
This commit is contained in:
litghost
2019-01-23 11:54:34 -08:00
committed by GitHub
+1 -1
View File
@@ -53,7 +53,7 @@ def run_pool(itemcount, nbBlocks, blocksize, nbParBlock, workFunc):
# We handle the case of not integer multiple of pips
intitemcount = blocksize * nbBlocks
lastRun = False
modBlocks = itemcount % nbBlocks
modBlocks = itemcount - intitemcount
if modBlocks != 0:
lastRun = True
nbBlocks = nbBlocks + 1