Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Map cvodes error flag to acutally error msg.
The most frequent errors are put at the top. An alternative would be to use std::map but in our case the difference would be negligible. Note that we don't use CVGetReturnFlagName function to retrieve the constant because sanitizer indicates it contains mem leak.
flag |
Definition at line 28 of file check_flag_sundials.hpp.