Skip to content

Commit

Permalink
test: use StableRNGs in setting seed in SurrogatesMOE
Browse files Browse the repository at this point in the history
  • Loading branch information
sathvikbhagavan committed Sep 21, 2023
1 parent dbedd7c commit c8f4e4b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/SurrogatesMOE/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using SafeTestsets
using Random
Random.seed!(100)
using StableRNGs, Random
const SEED = 42
Random.seed!(StableRNG(SEED), SEED)

# #test 1D function that is discontinuous
@safetestset "1D" begin
Expand Down

0 comments on commit c8f4e4b

Please sign in to comment.