Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ cvodes_check()

void stan::math::cvodes_check ( int  flag,
const char *  func_name 
)
inline

Throws a std::domain_error exception when a Sundial function fails (i.e.

returns a negative flag)

Parameters
flagError flag
func_nameName of the function that returned the flag
Exceptions
<code>std::domain_error</code>if the flag is negative

Definition at line 186 of file check_flag_sundials.hpp.