diff --git a/test/rbf.jl b/test/rbf.jl index 013c3b4..26760aa 100755 --- a/test/rbf.jl +++ b/test/rbf.jl @@ -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 diff --git a/test/runtests.jl b/test/runtests.jl index ed12992..eaebd0e 100755 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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")