Skip to content

Commit

Permalink
Update retcodes.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal authored Apr 23, 2024
1 parent 1238b2b commit 0a3b794
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/retcodes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,23 @@ EnumX.@enumx ReturnCode begin
- successful_retcode = false
"""
Stalled

"""
`ReturnCode.InternalLinearSolveFailed`
The linear problem inside another problem (for example inside a NonlinearProblem)
could not be solved.
## Common Reasons for Seeing this Return Code
- If a rank-deficient matrix originated inside the nonlinear solve and the
provided linear solver is incapable of handling those cases.
## Properties
- successful_retcode = false
"""
InternalLinearSolveFailed
end

Base.:(!=)(retcode::ReturnCode.T, s::Symbol) = Symbol(retcode) != s
Expand Down

0 comments on commit 0a3b794

Please sign in to comment.