summaryrefslogtreecommitdiffstats
path: root/fortran/examples/refregexample.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/examples/refregexample.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/examples/refregexample.f90')
-rw-r--r--fortran/examples/refregexample.f904
1 files changed, 2 insertions, 2 deletions
diff --git a/fortran/examples/refregexample.f90 b/fortran/examples/refregexample.f90
index 90b4551..5367da8 100644
--- a/fortran/examples/refregexample.f90
+++ b/fortran/examples/refregexample.f90
@@ -50,8 +50,8 @@
INTEGER(HSSIZE_T) , DIMENSION(2,3) :: coord
INTEGER(SIZE_T) ::num_points = 3 ! Number of selected points
INTEGER :: i, j
- INTEGER, DIMENSION(7) :: ref_size
- INTEGER, DIMENSION(7) :: data_dims
+ INTEGER(HSIZE_T), DIMENSION(1) :: ref_size
+ INTEGER(HSIZE_T), DIMENSION(2) :: data_dims
coord = reshape((/1,1,2,7,1,9/), (/2,3/)) ! Coordinates of selected points
data = reshape ((/1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6/), (/2,9/))
!