Skip to content

Commit 675c61a

Browse files
committed
Fix typos
1 parent 78cc9ef commit 675c61a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

docs/src/implementations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ To define a new FFT implementation in your own module, you should
3636
* To enable automatic computation of adjoint plans via [`Base.adjoint`](@ref) (used in rules for reverse differentiation), define the trait `AbstractFFTs.ProjectionStyle(::MyPlan)`, which can take values:
3737
* `AbstractFFTs.NoProjectionStyle()`,
3838
* `AbstractFFTs.RealProjectionStyle()`, for plans which halve one of the output's dimensions analogously to [`rfft`](@ref),
39-
* `AbstractFFTs.RealInverseProjectionStyle(d::Integer)`, for plans which expect an input with a halved dimension analogously to [`irfft`](@ref), where `d` is the original length of the dimension.
39+
* `AbstractFFTs.RealInverseProjectionStyle(d::Int)`, for plans which expect an input with a halved dimension analogously to [`irfft`](@ref), where `d` is the original length of the dimension.
4040

4141
The normalization convention for your FFT should be that it computes yₖ = ∑ⱼ xⱼ exp(-2πi jk/n) for a transform of
4242
length n, and the "backwards" (unnormalized inverse) transform computes the same thing but with exp(+2πi jk/n).

src/definitions.jl

-2
Original file line numberDiff line numberDiff line change
@@ -587,8 +587,6 @@ struct RealInverseProjectionStyle
587587
end
588588
const ProjectionStyle = Union{NoProjectionStyle, RealProjectionStyle, RealInverseProjectionStyle}
589589

590-
function irfft_dim end
591-
592590
output_size(p::Plan) = _output_size(p, ProjectionStyle(p))
593591
_output_size(p::Plan, ::NoProjectionStyle) = size(p)
594592
_output_size(p::Plan, ::RealProjectionStyle) = rfft_output_size(size(p), fftdims(p))

0 commit comments

Comments
 (0)