Skip to content

Commit 0cf14f4

Browse files
committed
Fix test
1 parent 78a2651 commit 0cf14f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/chainrules.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ end
417417
@test z2d_compiled.c.b === z2d_fallback.c.b
418418

419419
# empty arrays => NoTangent()
420-
@test z2d(ones(1, 0), ones(16, 0)) === NoTangent()
420+
@test @inferred(Zygote.z2d(ones(1, 0), ones(16, 0))) === NoTangent()
421421
end
422422

423423
@testset "ChainRules translation" begin

0 commit comments

Comments
 (0)