diff --git a/Project.toml b/Project.toml index 32d4d243..aab1255e 100644 --- a/Project.toml +++ b/Project.toml @@ -17,7 +17,7 @@ ADTypes = "1" ChainRulesCore = "1" ControlSystemsBase = "1.4" DataFrames = "1.7" -DataInterpolations = "8" +DataInterpolations = "8, 9" DiffEqBase = "6.190, 7" ForwardDiff = "0.10, 1" LinearAlgebra = "1.10" diff --git a/test/sources.jl b/test/sources.jl index 780830e3..3ac33c32 100644 --- a/test/sources.jl +++ b/test/sources.jl @@ -705,8 +705,10 @@ end end @testset "BSplineInterpolation" begin + bspline_args = Base.pkgversion(DataInterpolations) < v"9" ? + (3, :Uniform, :Uniform) : (3, :Uniform) @named i = ParametrizedInterpolation( - BSplineInterpolation, u, x, 3, :Uniform, :Uniform + BSplineInterpolation, u, x, bspline_args... ) eqs = [i.input.u ~ t, D(y) ~ i.output.u]