Skip to content

Commit 9c8f960

Browse files
test: use StableRNGs in setting seed in SurrogatesMOE
1 parent dbedd7c commit 9c8f960

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/SurrogatesMOE/test/runtests.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using SafeTestsets
2-
using Random
3-
Random.seed!(100)
2+
using StableRNGs, Random
3+
const SEED = 42
4+
Random.seed!(StableRNG(SEED), SEED)
45

56
# #test 1D function that is discontinuous
67
@safetestset "1D" begin

0 commit comments

Comments
 (0)