mirror of https://github.com/openXC7/prjxray.git
Merge pull request #556 from natsfr/patch074
Fuzzer 074 support integer multiple of nbBlocks
This commit is contained in:
commit
8c7e648f41
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue