Skip to content

Commit

Permalink
Disable multiarg (#2096)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Nov 16, 2024
1 parent f034de4 commit 41ee9cd
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1702,16 +1702,16 @@ end
R = zeros(6,6)
dR = zeros(6, 6)

@static if VERSION v"1.10-"
@test_broken autodiff(Reverse, whocallsmorethan30args, Active, Duplicated(R, dR))
@static if VERSION v"1.11-"
else
autodiff(Reverse, whocallsmorethan30args, Active, Duplicated(R, dR))
@test 1.0 dR[1, 1]
@test 1.0 dR[2, 2]
@test 1.0 dR[3, 3]
@test 1.0 dR[4, 4]
@test 1.0 dR[5, 5]
@test 0.0 dR[6, 6]
@test_broken autodiff(Reverse, whocallsmorethan30args, Active, Duplicated(R, dR))
# autodiff(Reverse, whocallsmorethan30args, Active, Duplicated(R, dR))
# @test 1.0 ≈ dR[1, 1]
# @test 1.0 ≈ dR[2, 2]
# @test 1.0 ≈ dR[3, 3]
# @test 1.0 ≈ dR[4, 4]
# @test 1.0 ≈ dR[5, 5]
# @test 0.0 ≈ dR[6, 6]
end
end

Expand Down

0 comments on commit 41ee9cd

Please sign in to comment.