@@ -591,8 +591,8 @@ function irfft_dim end
591
591
592
592
output_size (p:: Plan ) = _output_size (p, ProjectionStyle (p))
593
593
_output_size (p:: Plan , :: NoProjectionStyle ) = size (p)
594
- _output_size (p:: Plan , :: RealProjectionStyle ) = rfft_output_size (size (p), region (p))
595
- _output_size (p:: Plan , s:: RealInverseProjectionStyle ) = brfft_output_size (size (p), s. dim, region (p))
594
+ _output_size (p:: Plan , :: RealProjectionStyle ) = rfft_output_size (size (p), fftdims (p))
595
+ _output_size (p:: Plan , s:: RealInverseProjectionStyle ) = brfft_output_size (size (p), s. dim, fftdims (p))
596
596
597
597
mutable struct AdjointPlan{T,P<: Plan } <: Plan{T}
598
598
p:: P
@@ -611,13 +611,13 @@ output_size(p::AdjointPlan) = size(p.p)
611
611
Base.:* (p:: AdjointPlan , x:: AbstractArray ) = _mul (p, x, ProjectionStyle (p. p))
612
612
613
613
function _mul (p:: AdjointPlan{T} , x:: AbstractArray , :: NoProjectionStyle ) where {T}
614
- dims = region (p. p)
614
+ dims = fftdims (p. p)
615
615
N = normalization (T, size (p. p), dims)
616
616
return (p. p \ x) / N
617
617
end
618
618
619
619
function _mul (p:: AdjointPlan{T} , x:: AbstractArray , :: RealProjectionStyle ) where {T}
620
- dims = region (p. p)
620
+ dims = fftdims (p. p)
621
621
N = normalization (T, size (p. p), dims)
622
622
halfdim = first (dims)
623
623
d = size (p. p, halfdim)
@@ -630,7 +630,7 @@ function _mul(p::AdjointPlan{T}, x::AbstractArray, ::RealProjectionStyle) where
630
630
end
631
631
632
632
function _mul (p:: AdjointPlan{T} , x:: AbstractArray , :: RealInverseProjectionStyle ) where {T}
633
- dims = region (p. p)
633
+ dims = fftdims (p. p)
634
634
N = normalization (real (T), output_size (p. p), dims)
635
635
halfdim = first (dims)
636
636
n = size (p. p, halfdim)
0 commit comments