summaryrefslogtreecommitdiffstats
path: root/src/H5Shyper.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2019-11-29 05:00:23 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2019-12-06 22:41:09 (GMT)
commit46a3961d086aa1d90fa8519792cf4c5e7fe2ae26 (patch)
tree97479554425affc57659e70dca4b3f96f623ef7f /src/H5Shyper.c
parent62e6349eabb00c69fa69aab0fbe34cdc092d072f (diff)
downloadhdf5-46a3961d086aa1d90fa8519792cf4c5e7fe2ae26.zip
hdf5-46a3961d086aa1d90fa8519792cf4c5e7fe2ae26.tar.gz
hdf5-46a3961d086aa1d90fa8519792cf4c5e7fe2ae26.tar.bz2
Add support for scalar dataspaces to H5Sproject_intersection. Add
checking for ank validity.
Diffstat (limited to 'src/H5Shyper.c')
-rw-r--r--src/H5Shyper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c
index c4d5052..1e1538e 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -11506,7 +11506,7 @@ H5S__hyper_project_intersection(const H5S_t *src_space, const H5S_t *dst_space,
HDassert(src_intersect_space);
HDassert(proj_space);
- /* Assert that src_space and src_intersect_space have same extent and there
+ /* Assert that src_space and src_intersect_space have same rank and there
* are no point selections */
HDassert(H5S_GET_EXTENT_NDIMS(src_space) == H5S_GET_EXTENT_NDIMS(src_intersect_space));
HDassert(H5S_GET_SELECT_NPOINTS(src_space) == H5S_GET_SELECT_NPOINTS(dst_space));