diff --git a/src/tracers.jl b/src/tracers.jl index 92ee1b0..eb06fac 100755 --- a/src/tracers.jl +++ b/src/tracers.jl @@ -179,7 +179,7 @@ function nz_interpolate(z, nz, res; mode="linear") end end -function smooth_w_neighbors(arr::Vector{T}, k::Int = 5) where T +function smooth_w_neighbors(arr; k::Int = 5) N = length(arr) neighbors = Vector{}(undef, N) # Create an array to hold neighbor arrays