From 3d5ee28e377d1c371a165e5d40996992bc26711b Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Sat, 25 Mar 2023 23:53:31 -0400 Subject: [PATCH] Update returncode --- docs/src/basics/faq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/basics/faq.md b/docs/src/basics/faq.md index a2638230e..2f2ec9129 100644 --- a/docs/src/basics/faq.md +++ b/docs/src/basics/faq.md @@ -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