-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Discrete events with repeated dosage fails for JumpSystems (fine ofr e.g. ODEs) #417
Comments
@ChrisRackauckas sounds like maybe we should some additional API functions for querying tstops? I think SSAIntegrator going back to your original implementation has always stored them directly instead of inside the opts tuple. |
Yeah it probably needs some higher level query function in DiffEqBase. |
And the DiffEqCallbacks needs updates. |
Yes |
Fixing this is a bit more complicated as it seems DiffEqCallbacks currently relies on So it seems there also needs to be an API function to get an array representation from the |
In fact, both OrdinaryDiffEq and DiffEqCallbacks seems to rely on that internal field from DataStructures.jl's heap implementation, which seems like a not so great idea in general. |
I don't disagree. Someone just needs to generalize that. The issue is that the heap implementation does not expose the operation that we want here. |
Initially an issue from here: SciML/ModelingToolkit.jl#2611
According to Chris "It's an issue with SSAStepper not having integrator.opts.tstops for the callback"
Example:
For ODEs it works fine though:
The text was updated successfully, but these errors were encountered: