-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
pow applied to mixed variables #2993
Comments
I think this is correct, as the second derivative of Is not defined when both x & y are 0 |
Ah I see, we handle this in the |
Yes exacly! It is handled for |
Actually, I think |
Covered as part of #3031 |
AD ofpow<fvar<var>>(0, 0)
causes NAN adjoint.pow<fvar<var>>(0, 0)
andpow<var>(0, 0)
both behave as expected.Update
pow<var>(0, 0)
should return NAN adjoint since the partials are undefined.Steps to reproduce
Current Version:
v4.7.0
The text was updated successfully, but these errors were encountered: