Closed MikeInnes closed 6 years ago
This fixes a silent bug where
grad(x -> x*grad(y -> x+y)(x))(5.0) == 2 grad(x -> x*grad(y -> x+y)(1x))(5.0) == 1
(the correct answer is 1).
Manually merged, thanks.
This fixes a silent bug where
(the correct answer is 1).