Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Throws an exception message when the functions in KINSOL fails.
"KINGetReturnFlagName()" from SUNDIALS has a mem leak bug so until it's fixed we cannot use it to extract flag error string.
flag | Error flag |
func_name | calling function name |
<code>std::runtime_error</code> | if the flag is negative. |
Definition at line 380 of file check_flag_sundials.hpp.