Skip to content

Commit c0903dc

Browse files
committed
more deprecation
1 parent 051a38d commit c0903dc

File tree

5 files changed

+14
-5
lines changed

5 files changed

+14
-5
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ os:
55
- osx
66
julia:
77
- 0.6
8+
- 0.7
89
- nightly
910
notifications:
1011
email: false

src/FastTransforms.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ if VERSION < v"0.7-"
1616
lmul!(c::Number, A::AbstractArray) = scale!(c,A)
1717
lmul!(A::AbstractArray, B::AbstractArray) = mul!(A,B)
1818
rmul!(A::AbstractArray, B::AbstractArray) = mul!(A,B)
19+
const floatmin = realmin
1920
else
2021
using FFTW, LinearAlgebra, DSP
2122
import FFTW: r2rFFTWPlan, unsafe_execute!, fftwSingle, fftwDouble, fftwNumber

src/SphericalHarmonics/Butterfly.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function Butterfly(A::AbstractMatrix{T}, L::Int; isorthogonal::Bool = false, opt
8282
cols = vcat(cs[l-1][2j-1+shft],cs[l-1][2j+shft])
8383
lc = length(cols)
8484
Av = A[ml:mu,cols]
85-
if maximum(abs, Av) < realmin(real(T))/eps(real(T))
85+
if maximum(abs, Av) < floatmin(real(T))/eps(real(T))
8686
factors[l][j+ctr] = IDPackedV{T}(Int[], collect(1:lc), Array{T}(undef,0,lc))
8787
else
8888
LRAOpts.rtol = eps(real(T))*max(mu-ml+1, lc)

test/runtests.jl

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
using FastTransforms, Compat
2-
using Compat.Test
3-
4-
srand(0)
2+
using Compat.Test, Compat.LinearAlgebra, Compat.Random, Compat.Statistics
3+
if VERSION < v"0.7"
4+
srand(0)
5+
else
6+
Random.seed!(0)
7+
end
58

69
include("basictests.jl")
710

test/sphericalharmonics/sphericalharmonictests.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
using FastTransforms, Compat
22
using Compat.Test
33

4-
srand(0)
4+
if VERSION < v"0.7"
5+
srand(0)
6+
else
7+
Random.seed!(0)
8+
end
59

610
println()
711
println("Spherical harmonic transform")

0 commit comments

Comments
 (0)