-
Notifications
You must be signed in to change notification settings - Fork 3
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
Make AbstractTracer
a subtype of Real
, not Number
#91
Comments
Would solve control-toolbox/CTDirect.jl#88 (comment) |
@gdalle thank you for feedback. well, if this indeed solves the issue, this is most welcome. given the current type hierarchy, this seems to be no problem provided that no complex numbers are involved 👀. |
Sounds reasonable. We won't touch differentiation of complex numbers anyway, so this would only have been relevant for I'll tag a last patch release and add this breaking change. |
Some weirdness resulting from this: our local tracer type |
I agree, and we'll be forever banning complex autodiff (but so did ForwardDiff) |
Based on the way tracers are constructed, if the function signature is |
Reopening until #95 is merged |
Indeed, replacing |
Increases compatibility with existing code
The text was updated successfully, but these errors were encountered: