fixed output formatting
authorAaron Becker <akbecker@gmail.com>
Fri, 28 Jan 2011 19:34:32 +0000 (13:34 -0600)
committerAaron Becker <akbecker@gmail.com>
Fri, 28 Jan 2011 19:34:32 +0000 (13:34 -0600)
examples/charm++/typed_reduction/TypedReduction.cc

index d53133c24de6467d337e5d30802434f26e3fce07..15b34345f6b7a44b8f695c4ba0fb876c891135dd 100644 (file)
@@ -34,7 +34,7 @@ void Driver::typed_array_done(int* results, int n)
 {
     CkPrintf("Typed Sum: [ ");
     for (int i=0; i<n; ++i) CkPrintf("%d ", results[i]);
-    CkPrintf(" ]\n");
+    CkPrintf("]\n");
     CkCallback *cb = new CkCallback(
             CkIndex_Driver::typed_array_done2_redn_wrapper(NULL), thisProxy);
     w.ckSetReductionClient(cb);