From 79cd82a79e680d843fad81ec15f126dd5830b6a2 Mon Sep 17 00:00:00 2001 From: roflmaostc Date: Tue, 21 Mar 2023 16:15:02 +0100 Subject: [PATCH] Remove another wrong rule --- src/convolutions.jl | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/convolutions.jl b/src/convolutions.jl index 75d2353..1081b34 100644 --- a/src/convolutions.jl +++ b/src/convolutions.jl @@ -207,15 +207,6 @@ function p_conv_aux(P, P_inv, u, v_ft) return (P_inv.p * ((P * u) .* v_ft .* P_inv.scale)) end -function ChainRulesCore.rrule(::typeof(p_conv_aux), P, P_inv, u, v) - Y = p_conv_aux(P, P_inv, u, v) - function conv_pullback(barx) - z = zero(eltype(u)) - ∇ = p_conv_aux(P, P_inv, barx, conj(v)) - return NoTangent(), z, z, ∇, z - end - return Y, conv_pullback -end """ fft_or_rfft(T)