aboutsummaryrefslogtreecommitdiff
path: root/src/SetupGroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/SetupGroup.c')
-rw-r--r--src/SetupGroup.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/SetupGroup.c b/src/SetupGroup.c
index 076fe7c..6b2763c 100644
--- a/src/SetupGroup.c
+++ b/src/SetupGroup.c
@@ -171,9 +171,11 @@ static int PUGH_SetupGAGroup (pGH *newGH,
groupcomm = NULL;
if(newGH->commmodel == PUGH_ALLOCATEDBUFFERS)
{
- groupcomm = PUGH_SetupGArrayGroupComm (dim,
+ groupcomm = PUGH_SetupGArrayGroupComm (newGH,
+ dim,
newGH->nvariables,
n_variables,
+ vtype,
0,
extras);
}