aboutsummaryrefslogtreecommitdiff
path: root/src/Hyperslab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hyperslab.c')
-rw-r--r--src/Hyperslab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hyperslab.c b/src/Hyperslab.c
index 919e384..f793592 100644
--- a/src/Hyperslab.c
+++ b/src/Hyperslab.c
@@ -877,7 +877,7 @@ int Hyperslab_GetHyperslab (cGH *GH, int target_proc, int vindex, int vtimelvl,
}
/* detect the MPI datatype to use */
- mpi_vtype = PUGH_MPIDataType (vinfo.vartype);;
+ mpi_vtype = PUGH_MPIDataType (PUGH_pGH (GH), vinfo.vartype);
/* collect the hyperslab chunks from all processors */
if (target_proc < 0)