Skip to content

Commit 0a3b794

Browse files
authored
Update retcodes.jl
1 parent 1238b2b commit 0a3b794

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/retcodes.jl

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,23 @@ EnumX.@enumx ReturnCode begin
380380
- successful_retcode = false
381381
"""
382382
Stalled
383+
384+
"""
385+
`ReturnCode.InternalLinearSolveFailed`
386+
387+
The linear problem inside another problem (for example inside a NonlinearProblem)
388+
could not be solved.
389+
390+
## Common Reasons for Seeing this Return Code
391+
392+
- If a rank-deficient matrix originated inside the nonlinear solve and the
393+
provided linear solver is incapable of handling those cases.
394+
395+
## Properties
396+
397+
- successful_retcode = false
398+
"""
399+
InternalLinearSolveFailed
383400
end
384401

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

0 commit comments

Comments
 (0)