Skip to content

Commit

Permalink
Merge pull request #246 from SciML/ChrisRackauckas-patch-1
Browse files Browse the repository at this point in the history
Fix test to use TrustRegion
  • Loading branch information
ChrisRackauckas authored Oct 17, 2023
2 parents eb05214 + 258ee8a commit 7a5e231
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 7a5e231

Please sign in to comment.