Skip to content

Commit 2a423e2

Browse files
committed
Restrict to T<:Real for rfft adjoint
1 parent d967aa2 commit 2a423e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/definitions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ function _mul(p::AdjointPlan{T}, x::AbstractArray, ::NoProjectionStyle) where {T
626626
return (p.p \ x) / N
627627
end
628628

629-
function _mul(p::AdjointPlan{T}, x::AbstractArray, ::RealProjectionStyle) where {T}
629+
function _mul(p::AdjointPlan{T}, x::AbstractArray, ::RealProjectionStyle) where {T<:Real}
630630
dims = fftdims(p.p)
631631
N = normalization(T, size(p.p), dims)
632632
halfdim = first(dims)

0 commit comments

Comments
 (0)