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

add progress_id to delaydiffeq #270

Merged
merged 3 commits into from
Oct 6, 2023
Merged

Conversation

pepijndevos
Copy link
Contributor

This is part of
SciML/OrdinaryDiffEq.jl#2032
SciML/DiffEqBase.jl#939
to eventually allow EnsembleProblem to log progress
SciML/SciMLBase.jl#514

src/solve.jl Outdated
@@ -281,6 +282,7 @@ function DiffEqBase.__init(prob::DiffEqBase.AbstractDDEProblem,
progress_steps,
progress_name,
progress_message,
progress_id,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will need to isdefined(fieldnames(OrdinaryDiffEq.DEOptions), :progress_id) for backwards compatability.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an elegant way to just omit the argument, or you have to copy the whole instantiation?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the easiest is just to copy. It can be removed in the future.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alright

src/solve.jl Outdated Show resolved Hide resolved
@ChrisRackauckas ChrisRackauckas merged commit 9b117cd into SciML:master Oct 6, 2023
11 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants