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-02 16:32:03 (GMT)
commitac1a8ab5fe7c58533e005fef94d3acb2d46f4b31 (patch)
tree95d8be3caed92ca8495ef211ad4adca46768d54e /src/H5Shyper.c
parent0772b975d1d2bfa15aedeb4b6e2c2aac78c61a2f (diff)
downloadhdf5-ac1a8ab5fe7c58533e005fef94d3acb2d46f4b31.zip
hdf5-ac1a8ab5fe7c58533e005fef94d3acb2d46f4b31.tar.gz
hdf5-ac1a8ab5fe7c58533e005fef94d3acb2d46f4b31.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 ab06eff..acb8b87 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -11503,7 +11503,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));