From 65e88adcd6c19d2f48a3d9304c035c8d8619a864 Mon Sep 17 00:00:00 2001 From: "William S. Moses" Date: Thu, 23 Jan 2025 11:08:18 -0600 Subject: [PATCH] 1.10.8 --- test/runtests.jl | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 5c5d70d9fa..5f909abdb1 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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