@@ -57,7 +57,7 @@ contains
57
57
exit catch
58
58
end if
59
59
60
- call allocate_array (array, vshape, stat)
60
+ call allocate_array_by_shape (array, vshape, stat)
61
61
if (stat /= 0) then
62
62
msg = "Failed to allocate array of type '"//vtype//"' "//&
63
63
& "with total size of "//to_string(product(vshape))
@@ -85,7 +85,7 @@ contains
85
85
86
86
#:for k1, t1 in KINDS_TYPES
87
87
#: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)
89
89
${t1}$, allocatable, intent(out) :: array${ranksuffix(rank)}$
90
90
integer, intent(in) :: vshape(:)
91
91
integer, intent(out) :: stat
@@ -169,7 +169,7 @@ contains
169
169
block
170
170
${t1}$, allocatable :: array${ranksuffix(rank)}$
171
171
172
- call allocate_array (array, vshape, stat)
172
+ call allocate_array_by_shape (array, vshape, stat)
173
173
if (stat /= 0) then
174
174
msg = "Failed to allocate array of type '"//this_type//"'."; return
175
175
end if
0 commit comments