diff options
author | Quincey Koziol <koziol@lbl.gov> | 2018-04-30 14:45:32 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@lbl.gov> | 2018-04-30 14:45:32 (GMT) |
commit | 1f8cb03e11a46f853881f45dac18eff2dd68401e (patch) | |
tree | e066c7165f9e5a400de3688fb1b53193da6b230f /src/H5S.c | |
parent | 5983bded19d8a33266cbce5625b72540c5208921 (diff) | |
parent | 4411bc27ac8842795c73d7a469273a8d831bb835 (diff) | |
download | hdf5-1f8cb03e11a46f853881f45dac18eff2dd68401e.zip hdf5-1f8cb03e11a46f853881f45dac18eff2dd68401e.tar.gz hdf5-1f8cb03e11a46f853881f45dac18eff2dd68401e.tar.bz2 |
Merge pull request #1041 in HDFFV/hdf5 from merge_hyperslab_updates to develop
* commit '4411bc27ac8842795c73d7a469273a8d831bb835':
Further minor cleanups
Checkpoint normalization against incoming hyperslab / selection / dataspace improvements.
Diffstat (limited to 'src/H5S.c')
-rw-r--r-- | src/H5S.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1393,8 +1393,7 @@ H5S_set_extent_simple(H5S_t *space, unsigned rank, const hsize_t *dims, /* Selection related cleanup */ /* Set offset to zeros */ - for(u = 0; u < space->extent.rank; u++) - space->select.offset[u] = 0; + HDmemset(space->select.offset, 0, sizeof(hsize_t) * space->extent.rank); space->select.offset_changed = FALSE; /* If the selection is 'all', update the number of elements selected */ |