Skip to content

Commit

Permalink
autosize dims
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Dec 4, 2019
1 parent 97bc57d commit 914f91b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/read_int.f90
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

module procedure hdf_get_int_1d

integer(HSIZE_T) :: dims(1)
integer(HSIZE_T) :: dims(rank(value))
integer(SIZE_T) :: dsize
integer :: ierr, dtype

Expand All @@ -45,7 +45,7 @@

module procedure hdf_get_int_2d

integer(HSIZE_T) :: dims(2)
integer(HSIZE_T) :: dims(rank(value))
integer(SIZE_T) :: dsize
integer :: ierr, dtype

Expand All @@ -62,7 +62,7 @@

module procedure hdf_get_int_3d

integer(HSIZE_T) :: dims(3)
integer(HSIZE_T) :: dims(rank(value))
integer(SIZE_T) :: dsize
integer :: ierr, dtype

Expand Down

0 comments on commit 914f91b

Please sign in to comment.