nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cad99b
)
nitester: fix bug where nodes worked on one more task per packet
author
Alexis Laferrière
<alexis.laf@xymus.net>
Fri, 7 Nov 2014 00:53:12 +0000
(19:53 -0500)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Fri, 7 Nov 2014 15:06:49 +0000
(10:06 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
contrib/nitester/src/nitester.nit
patch
|
blob
|
history
diff --git
a/contrib/nitester/src/nitester.nit
b/contrib/nitester/src/nitester.nit
index
0818e74
..
37b5594
100644
(file)
--- a/
contrib/nitester/src/nitester.nit
+++ b/
contrib/nitester/src/nitester.nit
@@
-395,7
+395,7
@@
class Worker
# Receive tasks to execute
mpi.recv_into(task_buffer, 0, 1, status.source, status.tag, comm_world)
var first_id = task_buffer[0]
- for task_id in [first_id .. first_id + tasks_per_packet] do
+ for task_id in [first_id .. first_id + tasks_per_packet[ do
# If id is over all known tasks, stop right here
if task_id >= tasks.length then break