diff --git a/src/ScatteredInterpolation.jl b/src/ScatteredInterpolation.jl index bf714a9..5b36270 100755 --- a/src/ScatteredInterpolation.jl +++ b/src/ScatteredInterpolation.jl @@ -6,8 +6,8 @@ using Distances, export interpolate, evaluate -@compat abstract type ScatteredInterpolant end -@compat abstract type InterpolationMethod end +abstract type ScatteredInterpolant end +abstract type InterpolationMethod end include("./rbf.jl") include("./idw.jl") diff --git a/src/rbf.jl b/src/rbf.jl index 500c872..b03d6cb 100755 --- a/src/rbf.jl +++ b/src/rbf.jl @@ -120,7 +120,7 @@ function interpolate(rbf::RadialBasisFunction, # Compute pairwise distances and apply the Radial Basis Function A = pairwise(metric, points) - @dotcompat A = rbf(A) + @. A = rbf(A) # Solve for the weights w = A\samples @@ -165,7 +165,7 @@ function evaluate(itp::RBFInterpolant, points::AbstractArray{<:Real, 2}) # Compute distance matrix A = pairwise(itp.metric, points, itp.points) - @dotcompat A = itp.rbf(A) + @. A = itp.rbf(A) # Compute the interpolated values return A*itp.w