Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Jan 23, 2025
1 parent 65e88ad commit 2b74eb9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/applyiter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,9 @@ end
data = [[3.0], nothing, 2.0]
ddata = [[0.0], nothing, 0.0]

@test_throws AssertionError Enzyme.autodiff(Reverse, mktup2, Duplicated(data, ddata))
Enzyme.autodiff(Reverse, mktup2, Duplicated(data, ddata))
@test ddata[1][1] 2.0
@test ddata[3] 3.0

function mktup3(v)
tup = tuple(v..., v...)
Expand Down

0 comments on commit 2b74eb9

Please sign in to comment.