From 31d9fc78a199300f7c71a4365dcf35af9990aeae Mon Sep 17 00:00:00 2001 From: Joe Greener Date: Mon, 2 Dec 2024 19:14:04 +0000 Subject: [PATCH] remove higher order test --- test/runtests.jl | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 0c9df8c873..c9cde02c28 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -875,14 +875,6 @@ end tonest(x,y) = (x + y)^2 @test autodiff(Forward, (x,y) -> autodiff(Forward, Const(tonest), Duplicated(x, 1.0), Const(y))[1], Const(1.0), Duplicated(2.0, 1.0))[1] ≈ 2.0 - - f_nest(x) = 2 * x^4 - deriv(f, x) = first(first(autodiff(Reverse, f, Active(x)))) - f′(x) = deriv(f_nest, x) - f′′(x) = deriv(f′, x) - - @test f′(2.0) == 64 - @test f′′(2.0) == 96 end @testset "Hessian" begin