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
commit 8c7e648f41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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