Closed baggepinnen closed 8 years ago
n-ary operations, with n > 2, are supposed to be broken down into binary ops automatically by ReverseDiffSource
. It does work with expressions but not anymore with functions. It is probably caused by a change in the AST format produced by Julia.
This is a bug, I'll look into it.
Corrected in latest commit in master.
Differentiating
x + y + z
does not work, but(x + y) + z
is okay