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
This could be solved similarly to how #905 tries to solve the same issue for for-loops, that is with comma operators with a possibility to support more complicated conditions like (y = x*x) || (y = y - 1).
The text was updated successfully, but these errors were encountered:
In the following example,
fn
is basically a zero function. Yet, Clad computes its derivative to be 1.Expected output: 0
Output: 1
Same thing for
Expected output: 0
Output: 1
This could be solved similarly to how #905 tries to solve the same issue for for-loops, that is with comma operators with a possibility to support more complicated conditions like
(y = x*x) || (y = y - 1)
.The text was updated successfully, but these errors were encountered: