Skip to content

Commit 1fac091

Browse files
Update src/tests/stats/test_distribution_uniform.fypp
Co-authored-by: Jeremie Vandenplas <jeremie.vandenplas@gmail.com>
1 parent 54bcd22 commit 1fac091

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tests/stats/test_distribution_uniform.fypp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,11 @@ program test_distribution_uniform
197197
integer :: seed, get, i
198198
real :: res(3,5)
199199
#:if t1[0] == "i"
200-
real :: ans(15) = [(1.96078438E-02, i=1,15)]
200+
real, parameter :: ans(15) = [(1.96078438E-02, i=1,15)]
201201
#:elif t1[0] == "r"
202-
real :: ans(15) = [(0.5, i=1,15)]
202+
real, parameter :: ans(15) = [(0.5, i=1,15)]
203203
#:else
204-
real :: ans(15) = [(1.0, i=1,15)]
204+
real, parameter :: ans(15) = [(1.0, i=1,15)]
205205
#:endif
206206

207207
print *, "Test uniform_distribution_pdf_${t1[0]}$${k1}$"

0 commit comments

Comments
 (0)