Skip to content

Commit

Permalink
Rm unused struct
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav-arya authored Jul 19, 2023
1 parent 129d28d commit 481c096
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/fft.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1052,15 +1052,6 @@ end

#######################################################################

"""
R2RAdjointStyle(kinds)
Projection style for real to real transforms
"""
struct R2RAdjointStyle{K} <: AbstractFFTs.AdjointStyle
kinds::K
end

AbstractFFTs.AdjointStyle(::cFFTWPlan) = AbstractFFTs.FFTAdjointStyle()
AbstractFFTs.AdjointStyle(::rFFTWPlan{T, FORWARD}) where {T} = AbstractFFTs.RFFTAdjointStyle()
AbstractFFTs.AdjointStyle(P::rFFTWPlan{T, BACKWARD}) where {T} = AbstractFFTs.IRFFTAdjointStyle(P.osz[first(P.region)])

0 comments on commit 481c096

Please sign in to comment.