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 e446157..b34c79d 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -4610,7 +4610,7 @@ H5S_hyper_select_contiguous(const H5S_t *space)
*/
ret_value=TRUE; /* assume true and reset if the dimensions don't match */
for(u=1; u<space->extent.u.simple.rank; u++) {
- if(space->select.sel_info.hslab.diminfo[u].block>1 || space->select.sel_info.hslab.diminfo[u].block!=space->extent.u.simple.size[u]) {
+ if(space->select.sel_info.hslab.diminfo[u].count>1 || space->select.sel_info.hslab.diminfo[u].block!=space->extent.u.simple.size[u]) {
ret_value=FALSE;
break;
} /* end if */