Skip to content

Commit

Permalink
Add new return code constant LSETUP_FAIL (#2353)
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl authored Mar 5, 2024
1 parent e8852be commit 2906611
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/amici/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ constexpr int AMICI_TOO_MUCH_WORK= -1;
constexpr int AMICI_TOO_MUCH_ACC= -2;
constexpr int AMICI_ERR_FAILURE= -3;
constexpr int AMICI_CONV_FAILURE= -4;
constexpr int AMICI_LSETUP_FAIL= -6;
constexpr int AMICI_RHSFUNC_FAIL= -8;
constexpr int AMICI_FIRST_RHSFUNC_ERR= -9;
constexpr int AMICI_ILL_INPUT= -22;
Expand Down
1 change: 1 addition & 0 deletions src/amici.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ std::map<int, std::string> simulation_status_to_str_map = {
{AMICI_MAX_TIME_EXCEEDED, "AMICI_MAX_TIME_EXCEEDED"},
{AMICI_SUCCESS, "AMICI_SUCCESS"},
{AMICI_NOT_RUN, "AMICI_NOT_RUN"},
{AMICI_LSETUP_FAIL, "AMICI_LSETUP_FAIL"},
};

std::unique_ptr<ReturnData> runAmiciSimulation(
Expand Down

0 comments on commit 2906611

Please sign in to comment.