Skip to content

Commit

Permalink
Switch to robust multi-newton to improve initialization robustness
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Oct 19, 2023
1 parent d763352 commit 870629e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/initialize_dae.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ BrownFullBasicInit(abstol) = BrownFullBasicInit(; abstol = abstol, nlsolve = not
using SciMLNLSolve
default_nlsolve(alg, isinplace, u, autodiff = false) = alg
function default_nlsolve(::Nothing, isinplace, u, autodiff = false)
NLSolveJL(autodiff = autodiff ? :forward : :central)
RobustMultiNewton(autodiff = autodiff)
end
function default_nlsolve(::Nothing, isinplace::Val{false}, u::StaticArray, autodiff = false)
SimpleNewtonRaphson(autodiff = autodiff)
Expand Down

0 comments on commit 870629e

Please sign in to comment.