From 258ee8ad3829c18046aa76e7eec4a97c010a5cac Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Tue, 17 Oct 2023 18:43:06 -0400 Subject: [PATCH] Fix test to use TrustRegion Fixes https://github.com/SciML/NonlinearSolve.jl/issues/243 --- test/basictests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/basictests.jl b/test/basictests.jl index 0ad70d8eb..51756cf97 100644 --- a/test/basictests.jl +++ b/test/basictests.jl @@ -225,7 +225,7 @@ end radius_update_scheme in radius_update_schemes probN = NonlinearProblem(quadratic_f, u0, 2.0) - @test all(solve(probN, NewtonRaphson(; autodiff)).u .≈ sqrt(2.0)) + @test all(solve(probN, TrustRegion(; autodiff, radius_update_scheme)).u .≈ sqrt(2.0)) end # Test that `TrustRegion` passes a test that `NewtonRaphson` fails on.