changeset 1601:4ad9b94141b5 draft

fix word_count
author Masa <e085726@ie.u-ryukyu.ac.jp>
date Thu, 04 Apr 2013 17:26:33 +0900
parents e63ce6aee28e
children e33e106ca3e0
files example/word_count/ppe/Print.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/example/word_count/ppe/Print.cc	Thu Apr 04 15:48:33 2013 +0900
+++ b/example/word_count/ppe/Print.cc	Thu Apr 04 17:26:33 2013 +0900
@@ -68,7 +68,7 @@
 
     for (int i = 0; i < out_task_num ; i++) {
         word_data[0] += idata[i*w->out_size+0];
-        word_data[1] +idata[i*w->out_size+1];
+        word_data[1] += idata[i*w->out_size+1];
         unsigned long long *head_tail_flag = 
             &idata[i*w->out_size+2];
         if((i!=out_task_num-1)&&