Skip to content

Commit a2a993d

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

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/tests/stats/test_distribution_uniform.fypp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -230,32 +230,32 @@ program test_distribution_uniform
230230
real :: res(3,5)
231231
integer :: seed, get
232232
#:if k1 == "int8"
233-
real :: ans(15) = [0.435643554, 0.435643554, 0.435643554, 0.702970326, &
233+
real, parameter :: ans(15) = [0.435643554, 0.435643554, 0.435643554, 0.702970326, &
234234
0.653465331, 0.485148519, 0.386138618, 0.386138618, &
235235
0.336633652, 0.277227730, 0.237623766, 0.524752498, &
236236
0.732673287, 0.534653485, 0.415841579]
237237
#:elif k1 == "int16"
238-
real :: ans(15) = [0.178217828, 0.178217828, 0.178217828, 0.465346545, &
238+
real, parameter :: ans(15) = [0.178217828, 0.178217828, 0.178217828, 0.465346545, &
239239
0.673267305, 0.247524753, 0.158415839, 0.792079210, &
240240
0.742574275, 0.574257433, 0.881188095, 0.663366318, &
241241
0.524752498, 0.623762369, 0.178217828]
242242
#:elif k1 == "int32"
243-
real :: ans(15) = [0.732673287, 0.732673287, 0.732673287, 0.722772300, &
243+
real, parameter :: ans(15) = [0.732673287, 0.732673287, 0.732673287, 0.722772300, &
244244
0.792079210, 5.94059415E-02, 0.841584146,0.405940592,&
245245
0.960396051, 0.534653485, 0.782178223, 0.861386120, &
246246
0.564356446, 0.613861382, 0.306930691]
247247
#:elif k1 == "int64"
248-
real :: ans(15) = [0.455445558, 0.455445558, 0.455445558, 0.277227730, &
248+
real, parameter :: ans(15) = [0.455445558, 0.455445558, 0.455445558, 0.277227730, &
249249
0.455445558, 0.930693090, 0.851485133, 0.623762369, &
250250
5.94059415E-02,0.693069279, 0.544554472, 0.207920790,&
251251
0.306930691, 0.356435657, 0.128712878]
252252
#:elif t1[0] == "r"
253-
real :: ans(15) = [0.170192942, 0.170192942, 0.170192942, 0.276106149, &
253+
real, parameter :: ans(15) = [0.170192942, 0.170192942, 0.170192942, 0.276106149, &
254254
0.754930079, 0.406620681, 0.187742814, 0.651605546, &
255255
0.934733927, 0.151271492, 0.987674534, 0.130533904, &
256256
0.106271908, 9.27578658E-02, 0.203399420]
257257
#:else
258-
real :: ans(15) = [4.69913185E-02, 4.69913185E-02, 4.69913185E-02, &
258+
real, parameter :: ans(15) = [4.69913185E-02, 4.69913185E-02, 4.69913185E-02, &
259259
0.306970179, 0.122334257, 0.141398594, 0.128925011, &
260260
9.85755492E-03, 8.16527531E-02, 0.163921610, &
261261
7.81712309E-02, 0.446415812, 5.31753292E-04, &

0 commit comments

Comments
 (0)