bugfix in read function

This commit is contained in:
2011-06-30 09:13:52 +00:00
parent 30cf451716
commit d8c84a3bff
+1 -1
View File
@@ -36,7 +36,7 @@ h5u_read_data (
TRY (ndisk = hdf5_get_npoints_of_dataspace (space_id));
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
* exceed the size of the dataset */