Skip to content

Commit

Permalink
Update returncode
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Mar 26, 2023
1 parent 881ee71 commit 3d5ee28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/basics/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ the solution quickly diverges to infinity! This means, double-check your paramet
are indexed correctly!

**Note: if you see these warnings during a parameter estimation process, this is
likely the underlying problem. Simply check `sol.retcode != :Success` and throw
likely the underlying problem. Simply check `SciMLBase.successful_retcode(sol.retcode)` and throw
an `Inf` cost. Most optimizers will then reject steps in those parameter regimes!**

There are a few other things to check as well. Often, the stability of
Expand Down

0 comments on commit 3d5ee28

Please sign in to comment.