Skip to content

Commit

Permalink
Add allocatable attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
minhqdao committed Jul 30, 2024
1 parent b435ce0 commit 9670d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stdlib_array.fypp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ contains
!> Allocate an instance of the array within the wrapper.
subroutine allocate_array_${t1[0]}$${k1}$_${rank}$(wrapper, array, stat, msg)
class(t_array_wrapper), intent(out) :: wrapper
${t1}$, intent(in) :: array${ranksuffix(rank)}$
${t1}$, allocatable, intent(in) :: array${ranksuffix(rank)}$
integer, intent(out) :: stat
character(len=:), allocatable, intent(out) :: msg

Expand Down

0 comments on commit 9670d7c

Please sign in to comment.