summaryrefslogtreecommitdiffstats
path: root/src/H5Shyper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Shyper.c')
-rw-r--r--src/H5Shyper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c
index 71bfa51..6f778fe 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -2039,7 +2039,7 @@ H5S_hyper_set_version(const H5S_t *space, hsize_t block_count, hsize_t bounds_en
}
if(H5S_hyper_is_regular(space)) {
- if((H5F_USE_LATEST_FLAGS(f, H5F_LATEST_DATASPACE_SELECTION) && block_count > 4) ||
+ if(((H5F_LOW_BOUND(f) >= H5F_LIBVER_V110) && block_count > 4) ||
count_up_version || bound_up_version)
*version = H5S_HYPER_VERSION_2;
} else { /* Fail for irregular hyperslab if exceeds 32 bits */