From 9d316ec3046c559ea17e9c72cc6cb54bfda6f865 Mon Sep 17 00:00:00 2001 From: Ronny Bergmann Date: Fri, 22 Nov 2024 08:57:38 +0100 Subject: [PATCH] Adapt one error tolerance for Julia 1.11 --- test/solvers/test_adaptive_regularization_with_cubics.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/solvers/test_adaptive_regularization_with_cubics.jl b/test/solvers/test_adaptive_regularization_with_cubics.jl index 65838aea0e..e48ab9d53e 100644 --- a/test/solvers/test_adaptive_regularization_with_cubics.jl +++ b/test/solvers/test_adaptive_regularization_with_cubics.jl @@ -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(