summaryrefslogtreecommitdiffstats
path: root/fortran/test/tH5Z.f90
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2004-04-22 17:18:46 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2004-04-22 17:18:46 (GMT)
commit664fc34c33b72d35faf4280629b528dd32520023 (patch)
treed70c17cfd93cb8bd9a0f89101b5641c771d57a49 /fortran/test/tH5Z.f90
parent01d12a0e026b528e73724289af8e8d63276d1eae (diff)
downloadhdf5-664fc34c33b72d35faf4280629b528dd32520023.zip
hdf5-664fc34c33b72d35faf4280629b528dd32520023.tar.gz
hdf5-664fc34c33b72d35faf4280629b528dd32520023.tar.bz2
[svn-r8404]
Purpose: Maintenance Description: h5dwrite/read_f and h5awrite_read_f functions were overloaded with dims argument being of type INTEGER and INTEGER(HSIZE_T). We promised to remove overloading in 1.4 release. It was removed from documentation but not from the source code. Solution: Finish code cleanup. Platforms tested: Solaris 2.7 32 and 64 bit, and copper with --enable- parallel. Windows are broken, so Kent and Xuan will test it with their changes later. Misc. update:
Diffstat (limited to 'fortran/test/tH5Z.f90')
-rw-r--r--fortran/test/tH5Z.f9011
1 files changed, 5 insertions, 6 deletions
diff --git a/fortran/test/tH5Z.f90 b/fortran/test/tH5Z.f90
index 7005e14..f6291a2 100644
--- a/fortran/test/tH5Z.f90
+++ b/fortran/test/tH5Z.f90
@@ -181,8 +181,7 @@
INTEGER :: num_errors = 0 ! Number of data errors
INTEGER :: i, j !general purpose integers
- INTEGER(HSIZE_T), DIMENSION(7) :: data_dims_b
- INTEGER, DIMENSION(7) :: data_dims
+ INTEGER(HSIZE_T), DIMENSION(2) :: data_dims
INTEGER(HID_T) :: crp_list
INTEGER :: options_mask, pix_per_block
LOGICAL :: flag
@@ -257,9 +256,9 @@
!
! Write the dataset.
!
- data_dims_b(1) = N
- data_dims_b(2) = M
- CALL h5dwrite_f(dset_id, H5T_NATIVE_INTEGER, dset_data, data_dims_b, error)
+ data_dims(1) = N
+ data_dims(2) = M
+ CALL h5dwrite_f(dset_id, H5T_NATIVE_INTEGER, dset_data, data_dims, error)
CALL check("h5dwrite_f", error, total_error)
@@ -310,7 +309,7 @@
!
! Read the dataset.
!
- CALL h5dread_f (dset_id, H5T_NATIVE_INTEGER, data_out, data_dims_b, error)
+ CALL h5dread_f (dset_id, H5T_NATIVE_INTEGER, data_out, data_dims, error)
CALL check("h5dread_f", error, total_error)
!