Skip to content

Commit 9670d7c

Browse files
committed
Add allocatable attribute
1 parent b435ce0 commit 9670d7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/stdlib_array.fypp

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ contains
4747
!> Allocate an instance of the array within the wrapper.
4848
subroutine allocate_array_${t1[0]}$${k1}$_${rank}$(wrapper, array, stat, msg)
4949
class(t_array_wrapper), intent(out) :: wrapper
50-
${t1}$, intent(in) :: array${ranksuffix(rank)}$
50+
${t1}$, allocatable, intent(in) :: array${ranksuffix(rank)}$
5151
integer, intent(out) :: stat
5252
character(len=:), allocatable, intent(out) :: msg
5353

0 commit comments

Comments
 (0)