summaryrefslogtreecommitdiffstats
path: root/src/H5Shyper.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2015-05-12 15:39:10 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2015-05-12 15:39:10 (GMT)
commitf7e10b55ab75857e8a5bade01749842b060b5783 (patch)
treeb2bcc608e40f5fdb86afdd971e36531638266e82 /src/H5Shyper.c
parent5b92a99024214884428796394fef7376c2d09f3f (diff)
downloadhdf5-f7e10b55ab75857e8a5bade01749842b060b5783.zip
hdf5-f7e10b55ab75857e8a5bade01749842b060b5783.tar.gz
hdf5-f7e10b55ab75857e8a5bade01749842b060b5783.tar.bz2
[svn-r27053] Add more tests for unlimited selections.
Fix off by 1 error involving minimum extent of VDS. Other minor fixes/cleanup. Tested: ummon
Diffstat (limited to 'src/H5Shyper.c')
-rw-r--r--src/H5Shyper.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c
index 468f87e..4e82aed 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -9956,9 +9956,7 @@ H5S_hyper_get_clip_extent(const H5S_t *clip_space, const H5S_t *match_space,
rem_slices = num_slices - (count
* clip_hslab->opt_unlim_diminfo[clip_hslab->unlim_dim].block);
- if(rem_slices > 0) {
- HDassert(incl_trail && "Checking code coverage..."); //VDSINC
- HDassert(!incl_trail && "Checking code coverage..."); //VDSINC
+ if(rem_slices > 0)
/* Must end extent in middle of partial block (or beginning of empty
* block if include_trailing_space and rem_slices == 0) */
*clip_size =
@@ -9966,7 +9964,6 @@ H5S_hyper_get_clip_extent(const H5S_t *clip_space, const H5S_t *match_space,
+ (count
* clip_hslab->opt_unlim_diminfo[clip_hslab->unlim_dim].stride)
+ rem_slices;
- } /* end if */
else {
if(incl_trail)
/* End extent just before first missing block */