summaryrefslogtreecommitdiffstats
path: root/examples/h5dsm_dset_wpartial.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2016-12-09 16:11:00 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2016-12-09 16:11:00 (GMT)
commit2e4e427d9591aba395260ddd5272d498e3b1e179 (patch)
tree72b1ba008b29fb44cbe73f8203a761e3db3302bc /examples/h5dsm_dset_wpartial.c
parent5eb7d11b53c783b104650420cfa2ba4ea1db6144 (diff)
downloadhdf5-2e4e427d9591aba395260ddd5272d498e3b1e179.zip
hdf5-2e4e427d9591aba395260ddd5272d498e3b1e179.tar.gz
hdf5-2e4e427d9591aba395260ddd5272d498e3b1e179.tar.bz2
Add support for saving/loading max OID in file. Other fixes.
Diffstat (limited to 'examples/h5dsm_dset_wpartial.c')
-rw-r--r--examples/h5dsm_dset_wpartial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5dsm_dset_wpartial.c b/examples/h5dsm_dset_wpartial.c
index 9558fb3..7932df9 100644
--- a/examples/h5dsm_dset_wpartial.c
+++ b/examples/h5dsm_dset_wpartial.c
@@ -83,8 +83,8 @@ int main(int argc, char *argv[]) {
ERROR;
if((mem_space = H5Screate_simple(2, dims, NULL)) < 0)
ERROR;
- start[0] = 3 * rank;
- start[1] = 0;
+ start[0] = 0;
+ start[1] = 3 * rank;
count[0] = 4;
count[1] = 3;
if(H5Sselect_hyperslab(file_space, H5S_SELECT_SET, start, NULL, count, NULL) < 0)