Skip to content

Commit

Permalink
Parent will prints Mean() and Fixes smuos#6
Browse files Browse the repository at this point in the history
  • Loading branch information
yy90axf2010 committed Sep 27, 2014
1 parent 7c583ba commit 31dfc50
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ int main(int argc, char *argv[]) {
printf("Waiting the child, I am %d (wc:%d) (pid:%d)\n",
getpid(), wc, (int) rc);
// find the mean value.
//int meanvalue;
// meanvalue = mean(length,pt);
//fprintf(stdout, "I'm parents and the mean value is: %d\n",meanvalue);
int meanvalue;
meanvalue = mean(length,pt);
fprintf(stdout, "I'm parents and the mean value is: %d\n",meanvalue);
}

return 0;
Expand Down

0 comments on commit 31dfc50

Please sign in to comment.