summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/comm/CactusSync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comm/CactusSync.c b/src/comm/CactusSync.c
index 7921d8b2..eb91a165 100644
--- a/src/comm/CactusSync.c
+++ b/src/comm/CactusSync.c
@@ -140,7 +140,7 @@ int CCTK_SyncGroupsI(cGH *GH,
for(i = 0; i < n_groups; i++)
{
- CCTK_SyncGroupI(GH, i);
+ CCTK_SyncGroupI(GH, groups[i]);
}
return 0;