-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
reinitialize DAEs in between calling callback.affect!
and the second savevalues!
#997
reinitialize DAEs in between calling callback.affect!
and the second savevalues!
#997
Conversation
This really should get a test. |
test added. |
#test that reinit happens for both FSAL and non FSAL integrators | ||
@testset "dae re-init" for alg in [FBDF(), Rodas5P()] | ||
sol = solve(prob, alg) |
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.
Add a DAEProblem case?
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.
dae test added. That said, for extra fun, IDA
fails to solve this because it does callbacks separately and wrong.
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.
Actually no, your code here is bad.
Fixes the handling of #997
Fixes the handling of #997
…
Checklist
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.
Additional context
Add any other context about the problem here.
fixes SciML/OrdinaryDiffEq.jl#2127