-
Notifications
You must be signed in to change notification settings - Fork 156
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
Passing function to derivative
results in zero
#1085
Comments
Yes, we should make it error on non-Num or BasicSymbolic |
Would it be appropriate to try and feed |
Yeah we can make a dispatch for |
What do you mean by "symbolic in some form"? Is |
|
Fix false positive result of passing a `Function` to `derivative`
Not sure if this is a bug, but I think this should either throw an error or be fixed.
Setup:
and then
derivative(f, x)
gives 0,
gives
Num(2x)
.The former should error or be fixed, right?
The text was updated successfully, but these errors were encountered: