Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Throws an exception message when the KINSol() call fails.
When the exception is caused by a tuning parameter the user controls, gives a specific error.
flag | Error flag |
func_name | calling function name |
max_num_steps | max number of nonlinear iterations. |
<code>std::runtime_error</code> | if the flag is negative. |
<code>std::domain_error</code> | if the flag indicates max number of steps is exceeded. |
Definition at line 401 of file check_flag_sundials.hpp.