-
-
Notifications
You must be signed in to change notification settings - Fork 217
Cannot initialize system with D(x)-like initialization equations #3029
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
Comments
The error happens because |
This should be handled by the dummy derivative substitutions here: I can play with this and see what's going on. |
Got it |
Also throws a better error for the case where a differential is not caught in the initialization system handling. Fixes #3029
Nice, thanks! |
Also throws a better error for the case where a differential is not caught in the initialization system handling. Fixes SciML#3029
This should work:
It fails with
A workaround is to define an intermediate observed variable for
D(x)
:But this should not be necessary. It also works with if
x
andD(x)
are provided throughdefaults
inODESystem
oru0
inODEProblem
.The text was updated successfully, but these errors were encountered: