You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue originates in AbstractFFTs.jl, possible fix:
diff --git a/src/definitions.jl b/src/definitions.jl
index 80a6656..bac7127 100644
--- a/src/definitions.jl+++ b/src/definitions.jl@@ -256,7 +256,7 @@ summary(p::ScaledPlan) = string(p.scale, " * ", summary(p.p))
*(p::Plan, I::UniformScaling) = ScaledPlan(p, I.λ)
# Normalization for ifft, given unscaled bfft, is 1/prod(dimensions)
-normalization(::Type{T}, sz, region) where T = one(T) / Int(prod(sz[r] for r in region))::Int+normalization(::Type{T}, sz, region) where T = one(T) / Int(prod(sz[r] for r in region; init=1))::Int
normalization(X, region) = normalization(real(eltype(X)), size(X), region)
plan_ifft(x::AbstractArray, region; kws...) =
By chance we found a change in behaviour. Probably caused by Julia 1.7.1:
ifft!(rand(ComplexF64,3,4),[])
yields an error:
The text was updated successfully, but these errors were encountered: