diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-12-12 20:38:11 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-12-12 20:38:11 (GMT) |
commit | 1f0aa2059f423f8f9e5583ac004bf385eb7df91a (patch) | |
tree | 74dd1c002338f40bf0f75a64d666bbdfb1b0c5af | |
parent | da3602be5d58b39b03f182d7db77a02b3b6be91c (diff) | |
download | hdf5-1f0aa2059f423f8f9e5583ac004bf385eb7df91a.zip hdf5-1f0aa2059f423f8f9e5583ac004bf385eb7df91a.tar.gz hdf5-1f0aa2059f423f8f9e5583ac004bf385eb7df91a.tar.bz2 |
[svn-r9656] Purpose:
Bug fix
Description:
Propogate Kent's fix to the hyperslab "add elements" routine back to the
release branch.
Platforms tested:
None - eyeballed only, very minor
-rw-r--r-- | src/H5Shyper.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c index 703627b..510f26d 100644 --- a/src/H5Shyper.c +++ b/src/H5Shyper.c @@ -3239,6 +3239,7 @@ H5S_hyper_add_span_element_helper(H5S_hyper_span_info_t *span_tree, unsigned ran /* Increase size of previous span */ tmp2_span->high++; + tmp2_span->nelem++; /* Reset the 'tmp_span' for the rest of this block's algorithm */ tmp_span=tmp2_span; @@ -3282,6 +3283,7 @@ H5S_hyper_add_span_element_helper(H5S_hyper_span_info_t *span_tree, unsigned ran /* Does new node adjoin existing node? */ if(tmp_span->high+1==coords[0]) { tmp_span->high++; + tmp_span->nelem++; /* Check if this span tree should now be merged with a level higher in the tree */ if(prev_span_info!=NULL) { @@ -3304,6 +3306,7 @@ H5S_hyper_add_span_element_helper(H5S_hyper_span_info_t *span_tree, unsigned ran /* Increase size of previous span */ tmp2_span->high++; + tmp2_span->nelem++; /* Update pointers */ tmp2_span->next=NULL; |