diff options
Diffstat (limited to 'src/H5Dio.c')
-rw-r--r-- | src/H5Dio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dio.c b/src/H5Dio.c index 7fda7b1..62afb22 100644 --- a/src/H5Dio.c +++ b/src/H5Dio.c @@ -919,7 +919,7 @@ H5D_write(H5D_t *dataset, hid_t mem_type_id, const H5S_t *mem_space, * to detect the type of the reference if it is nested... -QAK */ if (IS_H5FD_MPI(dataset->ent.file) && - H5T_get_class(mem_type)==H5T_REFERENCE && + H5T_get_class(mem_type, TRUE)==H5T_REFERENCE && H5T_get_ref_type(mem_type)==H5R_DATASET_REGION) HGOTO_ERROR (H5E_DATASET, H5E_UNSUPPORTED, FAIL, "Parallel IO does not support writing region reference datatypes yet") |