Skip to content

Commit b332877

Browse files
committed
Clean up derivative test
1 parent 76bd04d commit b332877

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/test_undefined_derivatives.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,3 @@ x = zeros(3, 1) .- 1
1919
# Normally, Zygote's gradients would return `nothing`.
2020
# However, we wrap the gradient to keep it type-stable.
2121
@test all(isnan, tree'(x, operators; variable=true))
22-
23-
@test x1'(x, operators; variable=true) == [1.0; 0.0; 0.0;;]

0 commit comments

Comments
 (0)