Skip to content

Commit 36be189

Browse files
committed
Update the test to make them deterministic
1 parent 461011f commit 36be189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Core/bayes.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ using Enzyme
6868
0.8,
6969
]
7070
)
71-
xopt, sol = comrade_opt(post, GCMAESOpt(); initial_params = x0, maxiters = 10_000)
71+
xopt, sol = comrade_opt(post, Optimization.LBFGS(); initial_params = x0, maxiters = 10_000)
7272

7373
@test isapprox(xopt.sky.f1 / xopt.sky.f2, 2.0, atol = 1.0e-3)
7474
@test isapprox(xopt.sky.σ1 * 2 * sqrt(2 * log(2)), μas2rad(40.0), rtol = 1.0e-3)

0 commit comments

Comments
 (0)