Skip to content

Commit

Permalink
1.10.8
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Jan 23, 2025
1 parent 86dfcda commit 65e88ad
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1845,15 +1845,16 @@ end
dR = zeros(6, 6)

@static if VERSION v"1.11-"
elseif VERSION v"1.10.8"
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]
else
@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 65e88ad

Please sign in to comment.