Skip to content

Commit 62a2942

Browse files
authored
Update enzyme.jl
1 parent 20827e7 commit 62a2942

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/extensions/enzyme.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ end
107107
x = CuArray([1.0, 2.0, 3.0, 4.0])
108108
dx = CuArray([100., 300.0, 500.0, 700.0])
109109
res = Enzyme.autodiff(Forward, sum, Duplicated(x, dx))
110-
@test res 100+300+500+700
110+
@test res[1] 100+300+500+700.
111111
end
112112

113113
@testset "Reverse sum" begin

0 commit comments

Comments
 (0)