-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to SUNDIALS 5.8.0 #1836
Update to SUNDIALS 5.8.0 #1836
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1836 +/- ##
===========================================
+ Coverage 76.05% 76.09% +0.04%
===========================================
Files 74 74
Lines 12681 12682 +1
===========================================
+ Hits 9644 9651 +7
+ Misses 3037 3031 -6
Flags with carried forward coverage won't be shown. Click here to find out more.
|
... that show the actual difference
FAILED test_compare_conservation_laws_sbml.py::test_adjoint_pre_and_post_equilibration
Just had to update NlsRhsFun when changing cv_f. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -118,6 +118,8 @@ void CVodeSolver::initSteadystate(const realtype /*t0*/, const AmiVector &/*x0*/ | |||
as re-calling init would unset solver settings. */ | |||
auto cv_mem = static_cast<CVodeMem>(solver_memory_.get()); | |||
cv_mem->cv_f = fxBdot_ss; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe add a comment that both functions must be set for simulation to work properly and that just setting cv_mem->cv_f
will result in the previous function being used as alternate Nls function?
Kudos, SonarCloud Quality Gate passed! |
See https://github.com/LLNL/sundials/releases/tag/v5.8.0 for changes.