Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Oct 3, 2024
1 parent 271b057 commit fbb74ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/amici.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ std::string simulation_status_to_str(int status) {
} catch (std::out_of_range const&) {
// Missing mapping - terminate if this is a debug build,
// but show the number if non-debug.
fprintf(stderr, "Unknown simulation status: %d\n", status);
gsl_ExpectsDebug(false);
return std::to_string(status);
}
Expand Down

0 comments on commit fbb74ef

Please sign in to comment.