Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
BioTurboNick committed Oct 4, 2024
1 parent 96da431 commit 5c6db01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/chainrules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ end
@test z2d_compiled.c.b === z2d_fallback.c.b

# empty arrays => NoTangent()
@test z2d(ones(1, 0), ones(16, 0)) === NoTangent()
@test @inferred(Zygote.z2d(ones(1, 0), ones(16, 0))) === NoTangent()
end

@testset "ChainRules translation" begin
Expand Down

0 comments on commit 5c6db01

Please sign in to comment.