@@ -230,32 +230,32 @@ program test_distribution_uniform
230
230
real :: res(3,5)
231
231
integer :: seed, get
232
232
#: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, &
234
234
0.653465331, 0.485148519, 0.386138618, 0.386138618, &
235
235
0.336633652, 0.277227730, 0.237623766, 0.524752498, &
236
236
0.732673287, 0.534653485, 0.415841579]
237
237
#: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, &
239
239
0.673267305, 0.247524753, 0.158415839, 0.792079210, &
240
240
0.742574275, 0.574257433, 0.881188095, 0.663366318, &
241
241
0.524752498, 0.623762369, 0.178217828]
242
242
#: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, &
244
244
0.792079210, 5.94059415E-02, 0.841584146,0.405940592,&
245
245
0.960396051, 0.534653485, 0.782178223, 0.861386120, &
246
246
0.564356446, 0.613861382, 0.306930691]
247
247
#: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, &
249
249
0.455445558, 0.930693090, 0.851485133, 0.623762369, &
250
250
5.94059415E-02,0.693069279, 0.544554472, 0.207920790,&
251
251
0.306930691, 0.356435657, 0.128712878]
252
252
#: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, &
254
254
0.754930079, 0.406620681, 0.187742814, 0.651605546, &
255
255
0.934733927, 0.151271492, 0.987674534, 0.130533904, &
256
256
0.106271908, 9.27578658E-02, 0.203399420]
257
257
#: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, &
259
259
0.306970179, 0.122334257, 0.141398594, 0.128925011, &
260
260
9.85755492E-03, 8.16527531E-02, 0.163921610, &
261
261
7.81712309E-02, 0.446415812, 5.31753292E-04, &
0 commit comments