SciML / NonlinearSolve.jl

High-performance and differentiation-enabled nonlinear solvers (Newton methods), bracketed rootfinding (bisection, Falsi), with sparsity and Newton-Krylov support.
https://docs.sciml.ai/NonlinearSolve/stable/
MIT License
216 stars 39 forks source link

Use LinearSolve return codes #413

Closed avik-pal closed 2 months ago

avik-pal commented 2 months ago

Recently I added return codes to LinearSolve. If we detect failure for the default algorithm we can assume singularity and use a pivoted QR in that particular case.