Skip to content

Commit 79cd82a

Browse files
committed
Remove another wrong rule
1 parent a225275 commit 79cd82a

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/convolutions.jl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -207,15 +207,6 @@ function p_conv_aux(P, P_inv, u, v_ft)
207207
return (P_inv.p * ((P * u) .* v_ft .* P_inv.scale))
208208
end
209209

210-
function ChainRulesCore.rrule(::typeof(p_conv_aux), P, P_inv, u, v)
211-
Y = p_conv_aux(P, P_inv, u, v)
212-
function conv_pullback(barx)
213-
z = zero(eltype(u))
214-
= p_conv_aux(P, P_inv, barx, conj(v))
215-
return NoTangent(), z, z, ∇, z
216-
end
217-
return Y, conv_pullback
218-
end
219210

220211
"""
221212
fft_or_rfft(T)

0 commit comments

Comments
 (0)