File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
assimilation_code/modules/utilities
developer_tests/random_seq/work Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ module random_seq_mod
25
25
twod_gaussians, &
26
26
random_gamma, &
27
27
random_inverse_gamma, &
28
- random_exponential
28
+ random_exponential, &
29
+ ran_unif, init_ran
29
30
30
31
character (len=* ), parameter :: source = ' random_seq_mod.f90'
31
32
@@ -415,7 +416,7 @@ function ran_unif(s)
415
416
! at this point we have an integer value for k
416
417
! this routine returns 0.0 <= real < 1.0, so do
417
418
! the divide here. return range: [0,1).
418
-
419
+ print * , ' k= ' , k
419
420
ran_unif = real (real (k, digits12) / 4294967296.0_digits12 , r8 )
420
421
421
422
end function ran_unif
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ test_hist
26
26
test_inv_gamma
27
27
test_random
28
28
test_reseed
29
+ test_ran_unif
29
30
)
30
31
31
32
You can’t perform that action at this time.
0 commit comments