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, 2 insertions, 0 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c
index 1d92137..1d14592 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -5152,6 +5152,8 @@ H5S_hyper_select_serialize (const H5S_t *space, uint8_t *buf)
temp_dim--;
} /* end while */
} /* end if */
+ else
+ break; /* Break out now, for 1-D selections */
/* Re-compute offset array */
for(i=0; i<ndims; i++) {