diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2015-06-18 22:18:29 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2015-06-18 22:18:29 (GMT) |
commit | 7cf40ce5e484fe9db3ceb804dd6019ef7fb77d6d (patch) | |
tree | d5f1ff5b682648c4bfd54e5c4677529249da030c /src/H5S.c | |
parent | b32c1bc3ff629ee15cc165094399dcc928f46b03 (diff) | |
download | hdf5-7cf40ce5e484fe9db3ceb804dd6019ef7fb77d6d.zip hdf5-7cf40ce5e484fe9db3ceb804dd6019ef7fb77d6d.tar.gz hdf5-7cf40ce5e484fe9db3ceb804dd6019ef7fb77d6d.tar.bz2 |
[svn-r27246] Remove "clipped" status from unlimited selections, decoupling them from the
extent.
Improve algorithm for calculation of VDS extent by removing the need for a
temporary copy of a dataspace.
Other minor fixes/cleanup.
Tested: ummon
Diffstat (limited to 'src/H5S.c')
-rw-r--r-- | src/H5S.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -519,12 +519,6 @@ H5S_extent_copy(H5S_t *dst, const H5S_t *src) if(H5S_select_all(dst, FALSE) < 0) HGOTO_ERROR(H5E_DATASPACE, H5E_CANTDELETE, FAIL, "can't change selection") - /* If the selection is 'hyper', update the selection due to changed extent - */ - if(H5S_GET_SELECT_TYPE(dst) == H5S_SEL_HYPERSLABS) - if(H5S_hyper_clip_to_extent(dst) < 0) - HGOTO_ERROR(H5E_DATASPACE, H5E_CANTSET, FAIL, "can't update hyperslab") - done: FUNC_LEAVE_NOAPI(ret_value) } /* end H5S_extent_copy() */ @@ -1360,12 +1354,6 @@ H5S__set_extent_simple(H5S_t *space, unsigned rank, const hsize_t *dims, if(H5S_select_all(space, FALSE) < 0) HGOTO_ERROR(H5E_DATASPACE, H5E_CANTDELETE, FAIL, "can't change selection") - /* If the selection is 'hyper', update the selection due to changed - * extent */ - if(H5S_GET_SELECT_TYPE(space) == H5S_SEL_HYPERSLABS) - if(H5S_hyper_clip_to_extent(space) < 0) - HGOTO_ERROR(H5E_DATASPACE, H5E_CANTSET, FAIL, "can't update hyperslab") - done: FUNC_LEAVE_NOAPI(ret_value) } /* H5S__set_extent_simple() */ |