Skip to content

Commit e2137d9

Browse files
committed
painful...
1 parent 58b847a commit e2137d9

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/FastTransforms.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ if VERSION < v"0.7-"
1010
import Base.FFTW: libfftw, libfftwf, PlanPtr, r2rFFTWPlan
1111
const LAmul! = Base.A_mul_B!
1212
import Base: Factorization
13+
rmul!(A::AbstractArray, c::Number) = scale!(A,c)
14+
lmul!(c::Number, A::AbstractArray) = scale!(c,A)
15+
lmul!(A::AbstractArray, B::AbstractArray) = mul!(A,B)
16+
rmul!(A::AbstractArray, B::AbstractArray) = mul!(A,B)
1317
else
1418
using FFTW, LinearAlgebra, DSP
1519
import FFTW: r2rFFTWPlan, unsafe_execute!, fftwSingle, fftwDouble, fftwNumber

test/basictests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ using Compat.Test
33
import FastTransforms: Cnλ, Λ, lambertw, Cnαβ, Anαβ
44
import FastTransforms: clenshawcurtisnodes, clenshawcurtisweights, fejernodes1, fejerweights1, fejernodes2, fejerweights2
55
import FastTransforms: chebyshevmoments1, chebyshevmoments2, chebyshevjacobimoments1, chebyshevjacobimoments2, chebyshevlogmoments1, chebyshevlogmoments2
6+
import Compat: range
67

78
@testset "Special functions" begin
89
n = 0:1000_000

0 commit comments

Comments
 (0)