-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
add integrator accessors for dispatch purposes #1071
Conversation
src/integrator_accessors.jl
Outdated
# returns if the given integrator has an integ.iter field | ||
hasiter(integ) = true |
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.
hasfield
and hasproperty
work at compile time though, so I'm not sure if this one is the most essential?
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.
Ok, I wasn’t sure about if hasfield
is compile time, but since it is I can drop this.
OK, I think this is good to go along with the followup PRs
as far as I can tell ODEInterfaceDiffEq doesn't support |
Format failures seem to be in other files so can be handled in a separate PR. |
I removed the alias keyword. |
This is needed for SciML/DiffEqCallbacks.jl#229, but shouldn't get merged until we are settled that SciML/DiffEqCallbacks.jl#229 has the correct approach (and doesn't need changes here).