minor bug fix by Isaac
authorAbhinav Bhatele <bhatele@illinois.edu>
Thu, 4 Jun 2009 21:50:17 +0000 (21:50 +0000)
committerAbhinav Bhatele <bhatele@illinois.edu>
Thu, 4 Jun 2009 21:50:17 +0000 (21:50 +0000)
examples/bigsim/sdag/jacobi3d/jacobi3d.C

index 4ccba0711df7512e8577e89e70efc13328dd9a49..3c1c6b6da3abf7eb217a290593f1b3fbdec70938 100644 (file)
@@ -330,7 +330,7 @@ class Jacobi: public CBase_Jacobi {
       // Send my front face
       thisProxy(thisIndex.x, thisIndex.y, wrap_z(thisIndex.z-1)).receiveGhosts(frontMsg);
       // Send my back face
-      thisProxy(thisIndex.x, thisIndex.y, wrap_z(thisIndex.z-1)).receiveGhosts(backMsg);
+      thisProxy(thisIndex.x, thisIndex.y, wrap_z(thisIndex.z+1)).receiveGhosts(backMsg);
     }
 
     void processGhosts(ghostMsg *gmsg) {