aboutsummaryrefslogtreecommitdiff
path: root/src/SetupGroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/SetupGroup.c')
-rw-r--r--src/SetupGroup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SetupGroup.c b/src/SetupGroup.c
index 26f3be4..8fdca77 100644
--- a/src/SetupGroup.c
+++ b/src/SetupGroup.c
@@ -156,7 +156,8 @@ static int PUGH_SetupGAGroup (pGH *newGH,
connectivity = PUGH_SetupConnectivity (dim, newGH->nprocs, nprocs, perme);
extras = PUGH_SetupPGExtras (0, dim, perme, staggercode, nsize, ghostsize,
- newGH->nprocs, connectivity->nprocs, newGH->myproc);
+ newGH->nprocs, connectivity->nprocs,
+ connectivity->neighbours, newGH->myproc);
free (nprocs);
free (perme);