Skip to content
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

ReturnData::J #2334

Closed
dweindl opened this issue Feb 28, 2024 · 0 comments · Fixed by #2349
Closed

ReturnData::J #2334

dweindl opened this issue Feb 28, 2024 · 0 comments · Fixed by #2349
Labels

Comments

@dweindl
Copy link
Member

dweindl commented Feb 28, 2024

ReturnData::J stores the Jacobian from the most recent output timepoint.
Since it's mostly there for debugging (isn't it?), I'd say in case of failures, it should rather report the Jacobian at the time of failure.

Related to #2246

@dweindl dweindl added the c++ label Feb 28, 2024
dweindl added a commit to dweindl/AMICI that referenced this issue Mar 5, 2024
* Add `ReturnData::t_last` that holds the last solver timepoint (Closes AMICI-dev#2246)
* `ReturnData::J` is now the evaluted at `t_last` instead of the last successfully reached output timepoint (Closes AMICI-dev#2334)
* `ReturnData::xdot` is now the evaluted at `t_last` instead of the last successfully reached output timepoint
@dweindl dweindl linked a pull request Mar 5, 2024 that will close this issue
dweindl added a commit to dweindl/AMICI that referenced this issue Mar 6, 2024
* Add `ReturnData::t_last` that holds the last solver timepoint (Closes AMICI-dev#2246)
* `ReturnData::J` is now the evaluted at `t_last` instead of the last successfully reached output timepoint (Closes AMICI-dev#2334)
* `ReturnData::xdot` is now the evaluted at `t_last` instead of the last successfully reached output timepoint
@dweindl dweindl closed this as completed in 8d65524 Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant