From d75319520e6e74a17cc2ea7da50f1fdd784b084b Mon Sep 17 00:00:00 2001 From: adrhill Date: Wed, 9 Oct 2024 18:59:08 +0200 Subject: [PATCH] Remove more dead code --- src/overloads/gradient_tracer.jl | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/overloads/gradient_tracer.jl b/src/overloads/gradient_tracer.jl index e1e9bd5..6a44198 100644 --- a/src/overloads/gradient_tracer.jl +++ b/src/overloads/gradient_tracer.jl @@ -10,14 +10,7 @@ function gradient_tracer_1_to_1(t::T, is_der1_zero::Bool) where {T<:GradientTrac end end -function gradient_tracer_1_to_1_inner( - p::P, is_der1_zero::Bool -) where {P<:IndexSetGradientPattern} - return P(gradient_tracer_1_to_1_inner(gradient(p), is_der1_zero)) # return pattern -end - # This is only required because it is called by HessianTracer with IndexSetHessianPattern -# Otherwise, we would just have the method on IndexSetGradientPattern above. function gradient_tracer_1_to_1_inner( s::S, is_der1_zero::Bool ) where {S<:AbstractSet{<:Integer}}