You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
recently I have been trying to differentiate complicated expressions that eventually result in nested calls to pow. I find that the forward mode derivative for these cases is not taken correctly. Here is the MWE:
gives the correct result, (pow(x,(4-1)) * (4 * 1 + x * 0 * log(x))). Unfortunately my expressions are complicated enough that no such simplifications are possible.
The text was updated successfully, but these errors were encountered:
Hi @SergeiOssokine , I sincerely apologize for the delay. You are right, this needs an extension to the current code to include catching FuncCall expressions. We are working on it and should be updating this soon. My apologies!
Dear devs,
recently I have been trying to differentiate complicated expressions that eventually result in nested calls to
pow
. I find that the forward mode derivative for these cases is not taken correctly. Here is the MWE:This gives as the derivative
(pow(pow,(2-1)) * (2 * 0 + pow * 0 * log(pow)))
which looks like it's usingpow
as a variable instead of a function.Computing directly the derivative of
gives the correct result,
(pow(x,(4-1)) * (4 * 1 + x * 0 * log(x)))
. Unfortunately my expressions are complicated enough that no such simplifications are possible.The text was updated successfully, but these errors were encountered: