-
-
Notifications
You must be signed in to change notification settings - Fork 209
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
fix: only evaluate required keys of varmap in process_SciMLProblem
#3156
fix: only evaluate required keys of varmap in process_SciMLProblem
#3156
Conversation
e9cbffa
to
b2decf7
Compare
Has this been tested against catalyst to ensure it won’t break stuff? Note that CI here is not currently doing such a test. |
(Because of BifurcationKit not getting updated yet.) |
Why wouldn't the downstream test be sufficient on all? Also, Catalyst doesn't use this function at all https://github.com/search?q=repo%3ASciML%2FCatalyst.jl%20evaluate_varmap!&type=code |
Additionally, this was the behavior of the |
I'll test master against catalyst, though, because of #3155 |
@ChrisRackauckas Just look at the integration test on Catalyst here — it didn’t actually run due to the bifurcation kit version incompatibility. I will remove that extension from Catalyst later today until someone can update it (to get downstream testing here working again). More generally though, this issue is part of why I wanted to move extensions to separate libs. |
@AayushSabharwal ok, thanks for explaining. Just didn’t want to break the conservation law handling in problem construction suddenly. If this was the old behavior it should be fine. |
I can't get Catalyst tests to run. Artificially lowering |
Ok, I’ll see what is going on when I’m at work later, and get Catalyst master working with downstream here again. I’m not sure why removing BifurcationKit from the Project.toml and testing isn’t sufficient. |
Okay, since Catalyst does not use this function and it's reverting to an older behavior, I'm going to merge. I'm confused why Catalyst is brought up here in the first place, though we should fix that extension, I do not understand why the concern on a function it doesn't use? |
Every *Problem is built via that function. I was concerned changing the initialization in this way could break something we rely on (like conserved constant initialization). if it is the old behavior it should be fine. |
Close #3153
Checklist
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.
Additional context
Add any other context about the problem here.