We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4229760 commit 65a32f5Copy full SHA for 65a32f5
test/lib/lib.jl
@@ -4,5 +4,6 @@
4
t2 = (a=1, b=2)
5
@test Zygote.accum(t1, t2) == (a = 2, b = 4, c = 3)
6
@test_throws ArgumentError Zygote.accum(t2, t1)
7
+ @test Zygote.accum(fill(0.0), fill(0.0)) == fill(0.0)
8
end
9
0 commit comments