Skip to content

Commit 2b74eb9

Browse files
committed
update test
1 parent 65e88ad commit 2b74eb9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/applyiter.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,9 @@ end
507507
data = [[3.0], nothing, 2.0]
508508
ddata = [[0.0], nothing, 0.0]
509509

510-
@test_throws AssertionError Enzyme.autodiff(Reverse, mktup2, Duplicated(data, ddata))
510+
Enzyme.autodiff(Reverse, mktup2, Duplicated(data, ddata))
511+
@test ddata[1][1] 2.0
512+
@test ddata[3] 3.0
511513

512514
function mktup3(v)
513515
tup = tuple(v..., v...)

0 commit comments

Comments
 (0)