Skip to content

Commit

Permalink
Removed deprecation warnings on 0.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
eljungsk committed Jul 11, 2018
1 parent aa86c6a commit 61896a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/rbf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ radialBasisFunctions = (Gaussian(2), Multiquadratic(2), InverseQuadratic(2), Inv
@testset "Mixed RBF method equality" begin

itpConstant = interpolate(Gaussian(), points, data)
itpMixed = interpolate(repmat([Gaussian()],size(points,2)), points, data)
itpMixed = interpolate(repeat([Gaussian()], outer = size(points,2)), points, data)

# Check that the result is the same when dispatching on multiple,
# but equal RBFs for each interpolation point
Expand Down
7 changes: 6 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
using ScatteredInterpolation
using Base.Test

if VERSION < v"0.7-"
using Base.Test
else
using Test
end

include("rbf.jl")
include("idw.jl")
Expand Down

0 comments on commit 61896a7

Please sign in to comment.