Skip to content

Commit b77ed7f

Browse files
committed
Update handling of srand -> seed change, again
1 parent 8e3ce3c commit b77ed7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cformat.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
_erfinv(z) = sqrt(π) * Base.Math.@horner(z, 0, 1, 0, π/12, 0, 7π^2/480, 0, 127π^3/40320, 0,
22
4369π^4/5806080, 0, 34807π^5/182476800) / 2
33

4-
set_seed!(seed) = @static V6_COMPAT ? srand(seed) : Random.seed!(seed)
4+
set_seed!(seed) = @static VERSION < v"0.7.0" ? srand(seed) : Random.seed!(seed)
55

66
function test_equality()
77
println( "test cformat equality...")

0 commit comments

Comments
 (0)