diff options
author | eschnett <eschnett@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2011-07-06 13:11:50 +0000 |
---|---|---|
committer | eschnett <eschnett@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2011-07-06 13:11:50 +0000 |
commit | 3f7402c4960c584ce78f0f703ea81a6167a02b60 (patch) | |
tree | 3063a2ebfd821ac216059cfc8f35261679da05d6 | |
parent | 113d96f3c287a1a03d7ec7e4ab57dd00166d06f0 (diff) |
Correct synchronisation error
Correct error checking logic that would otherwise prevent group 0 from
being synchronised.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@508 b61c5cb5-eaca-4651-9a7a-d64986f99364
-rw-r--r-- | src/Comm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -164,7 +164,7 @@ int PUGH_SyncGroupsByDirI(const cGH *GH, #endif first_var = CCTK_FirstVarIndexI (groups[group]); - if (first_var > 0 && PUGH_SyncGArrayGroup (pughGH, first_var) == 0) + if (first_var >= 0 && PUGH_SyncGArrayGroup (pughGH, first_var) == 0) { retval++; } |