-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add support for ComponentVector
#145
Comments
ComponentVectors
ComponentVector
I gave it a try, and now it breaks down on |
What do you mean by dead end that can be ignored? |
Note that SparseConnectivityTracer errors at the comparison. It has no way to know that an error is thrown right after |
The jacobian sparsity from symbolics doesn't error on this, so I wonder what is going on there. I can imagine that the tracing goes wrong if the path trough the code branches out based on the input in a way that affects the output. But that is not what happens here |
Yeah the Symbolics approach works in a different way, and can more easily handle conditionals than our operator overloading method. |
With
|
okay that one is an easy fix @adrhill, we just have to mimic the definitions in isless(::Dual, ::AbstractFloat)
isless(::AbstractFloat, ::Dual) |
Indeed, it's an easy fix. |
@SouthEndMusic The |
Thanks for the work thus far. I now get exactly the same error on This is also triggered via |
Does the error appear on |
Currently tracing through a function with
ComponentVector
input and output does not work. E.g.yields
The text was updated successfully, but these errors were encountered: