[svn-r491] Program was fixed to use new functions H5Sextent_ndims and H5Sextent_dims.

Tested on Solaris 2.5
This commit is contained in:
Elena Pourmal 1998-07-14 17:01:10 -05:00
parent 13834c0d94
commit 3872a1dd4e

View File

@ -48,8 +48,8 @@ dataset = H5Dopen(file, DATASETNAME);
*/
filespace = H5Dget_space(dataset); /* Get filespace handle first. */
rank = H5Sget_ndims(filespace);
status_n = H5Sget_dims(filespace, dims, NULL);
rank = H5Sextent_ndims(filespace);
status_n = H5Sextent_dims(filespace, dims, NULL);
printf("dataset rank %d, dimensions %d x %d \n", rank, dims[0], dims[1]);
/*