Skip to content

Commit 4943167

Browse files
committed
Update AbstractFFTsForwardDiffExt.jl
1 parent 8ffa7df commit 4943167

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/AbstractFFTsForwardDiffExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ end
5858
for plan in (:plan_irfft, :plan_brfft) # these take an extra argument, only when complex?
5959
@eval begin
6060
AbstractFFTs.$plan(x::AbstractArray{D}, dims=1:ndims(x)) where D<:Dual = dualplan(D, AbstractFFTs.$plan(dual2array(x), 1 .+ dims))
61-
AbstractFFTs.$plan(x::AbstractArray{<:Complex{D}}, d::Integer, mdims=1:ndims(x)) where D<:Dual = dualplan(D, AbstractFFTs.$plan(dual2array(x), d, 1 .+ dims))
61+
AbstractFFTs.$plan(x::AbstractArray{<:Complex{D}}, d::Integer, dims=1:ndims(x)) where D<:Dual = dualplan(D, AbstractFFTs.$plan(dual2array(x), d, 1 .+ dims))
6262
end
6363
end
6464

0 commit comments

Comments
 (0)