-
-
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
Helpful error for missing guesses has disappeared #2873
Comments
I think this is the core issue:
This can be reproduced with simply using ModelingToolkit
using ModelingToolkit: t_nounits as t, D_nounits as D
@variables x(t) y(t)
ModelingToolkit._varmap_to_vars(Dict(t => 0), [y]) # changes y(t) to y(0) |
Yeah I've noticed that in the error message. I have thought that should probably be removed, but it's a bit tricky. We do want At a high level, the fix is to just not substitute |
Indeed.
Can this be used to shield |
Solving an ODE that needs a guess in initialization, like
gives the bad error
I believe it used to give something much nicer saying which variables have missing guesses. What happened to that?
The text was updated successfully, but these errors were encountered: