-
-
Notifications
You must be signed in to change notification settings - Fork 77
Fix successful return codes for factorization methods #631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| end | ||
|
|
||
| SciMLBase.build_linear_solution(alg, cache.u, nothing, cache) | ||
| SciMLBase.build_linear_solution(alg, cache.u, nothing, cache; retcode = ReturnCode.Success) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
| SciMLBase.build_linear_solution(alg, cache.u, nothing, cache; retcode = ReturnCode.Success) | |
| SciMLBase.build_linear_solution( | |
| alg, cache.u, nothing, cache; retcode = ReturnCode.Success) |
| be applied to well-conditioned matrices. | ||
| !!! warn | ||
| `NormalCholeskyFactorization` should only be applied to well-conditioned matrices. As a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
| `NormalCholeskyFactorization` should only be applied to well-conditioned matrices. As a | |
| `NormalCholeskyFactorization` should only be applied to well-conditioned matrices. As a |
| end | ||
| cache.cacheval = fact | ||
|
|
||
| if hasmethod(LinearAlgebra.issuccess, Tuple{typeof(fact)}) && !LinearAlgebra.issuccess(fact) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
| if hasmethod(LinearAlgebra.issuccess, Tuple{typeof(fact)}) && !LinearAlgebra.issuccess(fact) | |
| if hasmethod(LinearAlgebra.issuccess, Tuple{typeof(fact)}) && | |
| !LinearAlgebra.issuccess(fact) |
| # This is a known and documented incorrectness in NormalCholeskyFactorization | ||
| # due to numerical instability in its method that is fundamental. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
| # This is a known and documented incorrectness in NormalCholeskyFactorization | |
| # due to numerical instability in its method that is fundamental. | |
| # This is a known and documented incorrectness in NormalCholeskyFactorization | |
| # due to numerical instability in its method that is fundamental. |
Fixes #630 fixes #532