From a79741e477230ba21ea2e68c74f1befd771b8399 Mon Sep 17 00:00:00 2001 From: minhqdao Date: Fri, 2 Aug 2024 18:23:31 +0530 Subject: [PATCH] Make array allocatable --- src/stdlib_array.fypp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stdlib_array.fypp b/src/stdlib_array.fypp index 00e611017..a84f1898f 100644 --- a/src/stdlib_array.fypp +++ b/src/stdlib_array.fypp @@ -44,7 +44,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