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