Skip to content

Commit a2ed6df

Browse files
author
Daniel Ruprecht
committed
fixed random value generation for diffusion parameter
1 parent 84768ae commit a2ed6df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/src/advection_test.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ PROGRAM Upwind_Test
8686
CALL OMP_SET_NUM_THREADS(nt)
8787

8888
! fill Q with constant random value
89-
q_val = RAND(1)
89+
CALL RANDOM_NUMBER(q_val)
9090

9191
!$OMP PARALLEL DO schedule(static)
9292
DO i=0,nt-1

0 commit comments

Comments
 (0)