@@ -58,7 +58,7 @@ contains
58
58
exit catch
59
59
end if
60
60
61
- call allocate_array_from_shape (array, vshape, stat)
61
+ call allocate_array_from_shape_${t1[0]}$${k1}$_${rank}$ (array, vshape, stat)
62
62
if (stat /= 0) then
63
63
msg = "Failed to allocate array of type '"//vtype//"' "//&
64
64
& "with total size of "//to_string(product(vshape))
@@ -86,7 +86,7 @@ contains
86
86
87
87
#:for k1, t1 in KINDS_TYPES
88
88
#:for rank in RANKS
89
- module subroutine allocate_array_from_shape_${t1[0]}$${k1}$_${rank}$(array, vshape, stat)
89
+ subroutine allocate_array_from_shape_${t1[0]}$${k1}$_${rank}$(array, vshape, stat)
90
90
${t1}$, allocatable, intent(out) :: array${ranksuffix(rank)}$
91
91
integer, intent(in) :: vshape(:)
92
92
integer, intent(out) :: stat
@@ -180,7 +180,7 @@ contains
180
180
block
181
181
${t1}$, allocatable :: array${ranksuffix(rank)}$
182
182
183
- call allocate_array_from_shape (array, vshape, stat)
183
+ call allocate_array_from_shape_${t1[0]}$${k1}$_${rank}$ (array, vshape, stat)
184
184
if (stat /= 0) then
185
185
msg = "Failed to allocate array of type '"//this_type//"'.";
186
186
close(io, status='delete'); return
0 commit comments