Skip to content

Commit 1592531

Browse files
committed
Revert TestPlans
1 parent cc6e3d8 commit 1592531

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/TestPlans.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ function LinearAlgebra.mul!(
9595
dft!(y, x, p.region, 1)
9696
end
9797

98-
Base.:*(p::TestPlan{T}, x::AbstractArray{T}) where T = mul!(similar(x, complex(float(eltype(x)))), p, x)
99-
Base.:*(p::InverseTestPlan{T}, x::AbstractArray{T}) where T = mul!(similar(x, complex(float(eltype(x)))), p, x)
98+
Base.:*(p::TestPlan, x::AbstractArray) = mul!(similar(x, complex(float(eltype(x)))), p, x)
99+
Base.:*(p::InverseTestPlan, x::AbstractArray) = mul!(similar(x, complex(float(eltype(x)))), p, x)
100100

101101
mutable struct TestRPlan{T,N,G} <: Plan{T}
102102
region::G
@@ -219,7 +219,7 @@ function LinearAlgebra.mul!(y::AbstractArray{<:Complex, N}, p::TestRPlan, x::Abs
219219
return y
220220
end
221221

222-
function Base.:*(p::TestRPlan{Typ}, x::AbstractArray{Typ}) where Typ
222+
function Base.:*(p::TestRPlan, x::AbstractArray)
223223
# create output array
224224
firstdim = first(p.region)::Int
225225
d = size(x, firstdim)
@@ -241,7 +241,7 @@ function LinearAlgebra.mul!(y::AbstractArray{<:Real, N}, p::InverseTestRPlan, x:
241241
real_invdft!(y, x, p.region)
242242
end
243243

244-
function Base.:*(p::InverseTestRPlan{T}, x::AbstractArray{Complex{T}}) where T
244+
function Base.:*(p::InverseTestRPlan, x::AbstractArray)
245245
# create output array
246246
firstdim = first(p.region)::Int
247247
d = p.d

0 commit comments

Comments
 (0)