diff options
Diffstat (limited to 'P1')
-rw-r--r-- | P1/src/mapreduce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/P1/src/mapreduce.c b/P1/src/mapreduce.c index 807c1af..1f0b2bb 100644 --- a/P1/src/mapreduce.c +++ b/P1/src/mapreduce.c @@ -37,7 +37,7 @@ int main(int argc, char *argv[]) { } } - for (int i = 0; i < nMappers; i++) { + for (int i = 0; i <= nMappers; i++) { //Hopefully this works wait(NULL); } @@ -67,7 +67,7 @@ int main(int argc, char *argv[]) { } } - for (int i = 0; i < nReducers; i++) { + for (int i = 0; i <= nReducers; i++) { //Maybe this works too? wait(NULL); } |