The WithDerivative evaluable defines a derivative of a wrapped array to some target. The target is not included in the Evaluable.dependencies, but is included in the Array.arguments. This PR fixes Evaluable.isconstant and Array._derivative (default impl) which both neglect to inspect the .arguments.
The
WithDerivative
evaluable defines a derivative of a wrapped array to some target. The target is not included in theEvaluable.dependencies
, but is included in theArray.arguments
. This PR fixesEvaluable.isconstant
andArray._derivative
(default impl) which both neglect to inspect the.arguments
.