@@ -57,7 +57,7 @@ contains
5757 exit catch
5858 end if
5959
60- call allocate_array (array, vshape, stat)
60+ call allocate_array_by_shape (array, vshape, stat)
6161 if (stat /= 0) then
6262 msg = "Failed to allocate array of type '"//vtype//"' "//&
6363 & "with total size of "//to_string(product(vshape))
@@ -85,7 +85,7 @@ contains
8585
8686 #:for k1, t1 in KINDS_TYPES
8787 #:for rank in RANKS
88- module subroutine allocate_array_ ${t1[0]}$${k1}$_${rank}$(array, vshape, stat)
88+ module subroutine allocate_array_by_shape_ ${t1[0]}$${k1}$_${rank}$(array, vshape, stat)
8989 ${t1}$, allocatable, intent(out) :: array${ranksuffix(rank)}$
9090 integer, intent(in) :: vshape(:)
9191 integer, intent(out) :: stat
@@ -169,7 +169,7 @@ contains
169169 block
170170 ${t1}$, allocatable :: array${ranksuffix(rank)}$
171171
172- call allocate_array (array, vshape, stat)
172+ call allocate_array_by_shape (array, vshape, stat)
173173 if (stat /= 0) then
174174 msg = "Failed to allocate array of type '"//this_type//"'."; return
175175 end if
0 commit comments