diff --git a/src/BSplines/BSplines.jl b/src/BSplines/BSplines.jl index 3937e396..e6656c92 100644 --- a/src/BSplines/BSplines.jl +++ b/src/BSplines/BSplines.jl @@ -18,7 +18,7 @@ export evaluate!, support -using LazyArrays: ApplyArray +using LazyArrays: Vcat using StaticArrays: @SVector using ..DifferentialOps diff --git a/src/BSplines/knots.jl b/src/BSplines/knots.jl index 2d56ff7f..02941a6d 100644 --- a/src/BSplines/knots.jl +++ b/src/BSplines/knots.jl @@ -12,7 +12,7 @@ function augment_knots(knots::AbstractVector{T}, ::BSplineOrder{k}) where {T,k} # a lazy array. t_left = @SVector fill(first(knots), k - 1) t_right = @SVector fill(last(knots), k - 1) - ApplyArray(vcat, t_left, knots, t_right) + Vcat(t_left, knots, t_right) end @inline augment_knots(knots, k::Integer) = augment_knots(knots, BSplineOrder(k))