Commit d8c84a3b authored by gsell's avatar gsell

bugfix in read function

parent 30cf4517
...@@ -36,7 +36,7 @@ h5u_read_data ( ...@@ -36,7 +36,7 @@ h5u_read_data (
TRY (ndisk = hdf5_get_npoints_of_dataspace (space_id)); TRY (ndisk = hdf5_get_npoints_of_dataspace (space_id));
if (u->diskshape != H5S_ALL) { if (u->diskshape != H5S_ALL) {
TRY (nread = hdf5_get_npoints_of_dataspace(u->diskshape)); TRY (nread = hdf5_get_selected_npoints_of_dataspace (u->diskshape));
/* make sure the disk space selected by the view doesn't /* make sure the disk space selected by the view doesn't
* exceed the size of the dataset */ * exceed the size of the dataset */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment