-
-
Notifications
You must be signed in to change notification settings - Fork 217
fix: update initials with non-symbolic u0
in remake
#3530
New issue
Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “No 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? No Sign in to your account
fix: update initials with non-symbolic u0
in remake
#3530
Conversation
…rameters don't exist
initials = DiffEqBase.promote_u0(initials, newu0, t0) | ||
newp = repack(initials) | ||
end | ||
setp(sys, Initial.(unknowns(sys)))(newp, newu0) |
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.
Will this validate that the size is correct? It seems like that should get a contextualized error message.
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.
I think it'll throw a BroadcastError
just because of how SII works but year, an error message is a good idea.
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.
I'll let tests run. If they pass, I'll push the error message and merge.
Close #3504