Skip to content

Commit

Permalink
git subrepo clone (merge) --branch=c11c51ee1b2f8ed07677fcb47e81ac014e…
Browse files Browse the repository at this point in the history
…12855b --force git@github.com:dweindl/AMICI.git deps/AMICI

subrepo:
  subdir:   "deps/AMICI"
  merged:   "c11c51ee"
upstream:
  origin:   "git@github.com:dweindl/AMICI.git"
  branch:   "c11c51ee1b2f8ed07677fcb47e81ac014e12855b"
  commit:   "c11c51ee"
git-subrepo:
  version:  "0.4.6"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "110b9eb"
  • Loading branch information
dweindl committed Oct 14, 2024
1 parent d2b37e1 commit 3090c57
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deps/AMICI/.gitrepo
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
;
[subrepo]
remote = git@github.com:ICB-DCM/AMICI.git
branch = bd05be94fb5557426542b0a6e4af76ee00a8ebad
commit = bd05be94fb5557426542b0a6e4af76ee00a8ebad
parent = 6c6955f4f4c68636c1435fca3e660510c6163fd8
branch = c11c51ee1b2f8ed07677fcb47e81ac014e12855b
commit = c11c51ee1b2f8ed07677fcb47e81ac014e12855b
parent = d2b37e189980fa085cddcecf76fe93932f3f566a
cmdver = 0.4.6
method = merge
1 change: 1 addition & 0 deletions deps/AMICI/include/amici/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ constexpr int AMICI_CONSTR_FAIL= -15;
constexpr int AMICI_CVODES_CONSTR_FAIL= -15;
constexpr int AMICI_IDAS_CONSTR_FAIL= -11;
constexpr int AMICI_ILL_INPUT= -22;
constexpr int AMICI_FIRST_QRHSFUNC_ERR= -32;
constexpr int AMICI_ERROR= -99;
constexpr int AMICI_NO_STEADY_STATE= -81;
constexpr int AMICI_DAMPING_FACTOR_ERROR= -86;
Expand Down
1 change: 1 addition & 0 deletions deps/AMICI/src/amici.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ std::map<int, std::string> simulation_status_to_str_map = {
{AMICI_SUCCESS, "AMICI_SUCCESS"},
{AMICI_NOT_RUN, "AMICI_NOT_RUN"},
{AMICI_LSETUP_FAIL, "AMICI_LSETUP_FAIL"},
{AMICI_FIRST_QRHSFUNC_ERR, "AMICI_FIRST_QRHSFUNC_ERR"},
};

std::unique_ptr<ReturnData> runAmiciSimulation(
Expand Down
1 change: 1 addition & 0 deletions deps/AMICI/src/solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1205,6 +1205,7 @@ void Solver::initializeNonLinearSolverSens(Model const* model) const {
}

void Solver::setErrHandlerFn() const {
SUNContext_ClearErrHandlers(sunctx_);
auto sunerr = SUNContext_PushErrHandler(
sunctx_, wrapErrHandlerFn,
reinterpret_cast<void*>(const_cast<Solver*>(this))
Expand Down
4 changes: 4 additions & 0 deletions deps/AMICI/src/solver_cvodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ static_assert(
amici::AMICI_FIRST_RHSFUNC_ERR == CV_FIRST_RHSFUNC_ERR,
"AMICI_FIRST_RHSFUNC_ERR != CV_FIRST_RHSFUNC_ERR"
);
static_assert(
amici::AMICI_FIRST_QRHSFUNC_ERR == CV_FIRST_QRHSFUNC_ERR,
"AMICI_FIRST_QRHSFUNC_ERR != CV_FIRST_QRHSFUNC_ERR"
);

/*
* The following static members are callback function to CVODES.
Expand Down

0 comments on commit 3090c57

Please sign in to comment.