diff options
Diffstat (limited to 'src/H5Ssimp.c')
-rw-r--r-- | src/H5Ssimp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ssimp.c b/src/H5Ssimp.c index fda83e1..8f1844c 100644 --- a/src/H5Ssimp.c +++ b/src/H5Ssimp.c @@ -251,7 +251,7 @@ H5S_simp_mscat (const void *tconv_buf, size_t elmt_size, "hyperslab sampling is not implemented yet"); } } - if (H5S_get_dims (mem_space, mem_size, NULL)<0) { + if (H5S_extent_dims (mem_space, mem_size, NULL)<0) { HRETURN_ERROR (H5E_DATASPACE, H5E_CANTINIT, FAIL, "unable to retrieve data space dimensions"); } |