diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-07-06 21:01:59 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-07-06 21:01:59 (GMT) |
commit | 650e88756c4d81f819141d28e9239fbb6446ed30 (patch) | |
tree | b072d230ee7c60c7ab3548e04d291f81b8c1ceda /test/cmpd_dset.c | |
parent | 43f13aeca28a722d6436d43dcd84a59918dc0950 (diff) | |
download | hdf5-650e88756c4d81f819141d28e9239fbb6446ed30.zip hdf5-650e88756c4d81f819141d28e9239fbb6446ed30.tar.gz hdf5-650e88756c4d81f819141d28e9239fbb6446ed30.tar.bz2 |
[svn-r452] Changed tests to use the new dataspace API calls. Still need to add tests for
point selections and strides.
Diffstat (limited to 'test/cmpd_dset.c')
-rw-r--r-- | test/cmpd_dset.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cmpd_dset.c b/test/cmpd_dset.c index 694ce3d..160e84b 100644 --- a/test/cmpd_dset.c +++ b/test/cmpd_dset.c @@ -420,9 +420,7 @@ STEP 8: Read middle third hyperslab into memory array.\n"); f_offset[1] = NY/3; h_size[0] = 2*NX/3 - f_offset[0]; h_size[1] = 2*NY/3 - f_offset[1]; - h_sample[0] = 1; - h_sample[1] = 1; - status = H5Sset_hyperslab (s8_f_sid, f_offset, h_size, h_sample); + status = H5Sselect_hyperslab (s8_f_sid, H5S_SELECT_SET, f_offset, NULL, h_size, NULL); assert (status>=0); /* Create memory data space */ @@ -547,6 +545,7 @@ STEP 10: Read middle third of hyperslab into middle third of memory array\n\ } } +#ifdef OLD_WAY /* *###################################################################### * Step 11: Write an array into the middle third of the dataset @@ -598,6 +597,7 @@ STEP 11: Write an array back to the middle third of the dataset to\n\ } } } +#endif /* OLD_WAY */ |