-
-
Notifications
You must be signed in to change notification settings - Fork 208
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
Clean up generate_initializesystem() #3051
Conversation
Thanks, this looks amazing! I can very easily rebase the parameter initialization on top of this, so it shouldn't need to wait. |
Could you rebase this? Would love to get this merged |
Sure, I will do my best when I get back next week :) |
847237d
to
a61977a
Compare
I tried to improve and simplify the handling of vector equations and scalarization a bit. |
11c335a
to
09fda2f
Compare
Tests seem to pass. |
Is that failure on master? |
Yes, looks like it. |
kwargs...) | ||
sts, eqs = unknowns(sys), equations(sys) | ||
guesses = Dict(), | ||
default_dd_guess = 0.0, |
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.
Is the old name documented anywhere?
While working on #3050, I found
generate_initializesystem()
a little hard to follow. I thought I could try to clean it up a little, after it has accumulated several fixes recently.Please feel free to ignore this if it is not helpful. I know @AayushSabharwal is working on parameter initialization, so I wouldn't want this merged before if it clutters that!
Checklist
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.