Skip to content

Commit

Permalink
Random.seed! not seed
Browse files Browse the repository at this point in the history
  • Loading branch information
milankl authored Apr 12, 2024
1 parent 9e8e997 commit 4837ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ end
end

@testset "rand sampling" begin
Random.seed(123)
Random.seed!(123)
mi, ma = extrema(rand(BFloat16, 1_000_000))

# zero should be the lowest BFloat16 sampled
Expand Down

0 comments on commit 4837ccc

Please sign in to comment.