Skip to content

Commit 21ef967

Browse files
committed
Fix test
1 parent 84d7b0b commit 21ef967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/chainrules_tests.jl

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

418418
# empty arrays => NoTangent()
419-
@test z2d(ones(1, 0), ones(16, 0)) === NoTangent()
419+
@test @inferred(Zygote.z2d(ones(1, 0), ones(16, 0))) === NoTangent()
420420
end
421421

422422
@testset "ChainRules translation" begin

0 commit comments

Comments
 (0)