Skip to content

Commit

Permalink
Fix test to use TrustRegion
Browse files Browse the repository at this point in the history
Fixes #243
  • Loading branch information
ChrisRackauckas authored Oct 17, 2023
1 parent 3d85a52 commit 258ee8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/basictests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 258ee8a

Please sign in to comment.