From 32d1db7a7c05f7231271365deeaf4169dd2a80a3 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Mon, 10 Aug 2026 03:47:55 -0400 Subject: [PATCH] Support DataInterpolations 9 Co-Authored-By: Chris Rackauckas --- Project.toml | 2 +- test/sources.jl | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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]