summaryrefslogtreecommitdiffstats
path: root/src/H5Sall.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Sall.c')
-rw-r--r--src/H5Sall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Sall.c b/src/H5Sall.c
index 0f9e768..4a3dcce 100644
--- a/src/H5Sall.c
+++ b/src/H5Sall.c
@@ -43,7 +43,7 @@ H5S_all_init (const struct H5O_layout_t __unused__ *layout,
assert (sel_iter);
/* Initialize the number of elements to iterate over */
- sel_iter->all.elmt_left=H5S_get_npoints(space);
+ sel_iter->all.elmt_left=H5S_extent_npoints(space);
/* Start at the upper left location */
sel_iter->all.offset=0;