aboutsummaryrefslogtreecommitdiff
path: root/src/NewHyperslab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/NewHyperslab.c')
-rw-r--r--src/NewHyperslab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NewHyperslab.c b/src/NewHyperslab.c
index b0aa21b..a03186b 100644
--- a/src/NewHyperslab.c
+++ b/src/NewHyperslab.c
@@ -956,7 +956,7 @@ int NewHyperslab_GetHyperslab (cGH *GH,
}
/* detect the MPI datatype to use */
- mpi_vtype = PUGH_MPIDataType (htype);
+ mpi_vtype = PUGH_MPIDataType (PUGH_pGH (GH), htype);
/* collect the hyperslab chunks from all processors */
if (target_proc < 0)