diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2018-04-30 22:22:09 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2018-04-30 22:22:09 (GMT) |
commit | 64e13ca220a8d99e2282b680a852a038dd217d60 (patch) | |
tree | e3764cc9ce69e6f8ba684ed071c430e489577f06 /src/H5S.c | |
parent | 3313fde3bb8b6cc5cfa3c8401615ac064f7cbdf9 (diff) | |
parent | 1f8cb03e11a46f853881f45dac18eff2dd68401e (diff) | |
download | hdf5-64e13ca220a8d99e2282b680a852a038dd217d60.zip hdf5-64e13ca220a8d99e2282b680a852a038dd217d60.tar.gz hdf5-64e13ca220a8d99e2282b680a852a038dd217d60.tar.bz2 |
Merge branch 'develop' into h5do_direct_chunk_hl_to_src
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 */ |