-
Notifications
You must be signed in to change notification settings - Fork 90
Circular reasoning with implicit functions #982
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
Comments
Which set of methods in particular are circular? I think they all accept different type signatures or have subtly different names, e.g., |
For instance this chunk: ControlSystems.jl/lib/ControlSystemsBase/ext/ControlSystemsBaseImplicitDifferentiationExt.jl Lines 11 to 39 in b7a903b
|
If it was circular, the tests would fail with stack overflow, but the tests run all these methods without doing so Closed by mistake |
I guess it must be dispatch then 🤷 feel free to close, it just seemed like a weird design / naming decision |
I can't remember the reason that it looks that way, it might be that some method was required to resolve an ambiguity or add a dispatch that wasn't otherwise hit |
While working on #980 I noticed something strange in your use of ImplicitDifferentiation. You seem to be using a circular reasoning like the following:
Can you explain why this is necessary? Higher-order AD perhaps?
The text was updated successfully, but these errors were encountered: