diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1999-06-25 19:36:54 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1999-06-25 19:36:54 (GMT) |
commit | 21403c5ec467bea879c1887ec5c9429a26458942 (patch) | |
tree | 4ca90b8969b8de21213f4ce3b83b629538c6c1c0 /src/H5Sselect.c | |
parent | 78f622071f1199581775479811b5d730d14f0779 (diff) | |
download | hdf5-21403c5ec467bea879c1887ec5c9429a26458942.zip hdf5-21403c5ec467bea879c1887ec5c9429a26458942.tar.gz hdf5-21403c5ec467bea879c1887ec5c9429a26458942.tar.bz2 |
[svn-r1385] Updated H5Rdereference, H5Rget_object_type and H5Rget_region to accept a
location ID (i.e. a file or group ID) as well as the dataset ID. This should
allow Dave to get the palettes stored in the file correctly and also enable
Bob and/or Bruce's indexing stuff. This change should be folded into the
documentation for these three functions for the release.
Also, I fixed a number of bugs in the hyperslab and point selection
iterators for H5Diterate and they are working correctly now.
Diffstat (limited to 'src/H5Sselect.c')
-rw-r--r-- | src/H5Sselect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Sselect.c b/src/H5Sselect.c index 1379617..c36cc03 100644 --- a/src/H5Sselect.c +++ b/src/H5Sselect.c @@ -1725,7 +1725,7 @@ H5S_select_iterate(void *buf, hid_t type_id, H5S_t *space, H5D_operator_t operat assert(buf); assert(space); assert(operator); - assert(H5I_DATATYPE != H5I_get_type(type_id)); + assert(H5I_DATATYPE == H5I_get_type(type_id)); switch(space->select.type) { case H5S_SEL_POINTS: /* Sequence of points selected */ @@ -1749,6 +1749,6 @@ H5S_select_iterate(void *buf, hid_t type_id, H5S_t *space, H5D_operator_t operat break; } - FUNC_LEAVE(SUCCEED); + FUNC_LEAVE(ret_value); } /* end H5S_select_iterate() */ |