diff --git a/src/amici.cpp b/src/amici.cpp index 702f9a4df5..78d4794e41 100644 --- a/src/amici.cpp +++ b/src/amici.cpp @@ -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); }