Skip to content

Commit

Permalink
Adapt one error tolerance for Julia 1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertuer committed Nov 22, 2024
1 parent 71f3416 commit 9d316ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/solvers/test_adaptive_regularization_with_cubics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ include("../utils/example_tasks.jl")
p1 = adaptive_regularization_with_cubics(
M, f, grad_f, Hess_f, p0; θ=0.5, σ=100.0, retraction_method=PolarRetraction()
)
@test abs(f(M, p1) - f_min) < 1e-14
@test abs(f(M, p1) - f_min) < 5e-14
@test isapprox(M, p_min, p1)
Random.seed!(42)
p2 = adaptive_regularization_with_cubics(
Expand Down

0 comments on commit 9d316ec

Please sign in to comment.