Skip to content

Commit d3433aa

Browse files
Merge pull request #3762 from oscardssmith/os/fix-DataInterpolations-v7
remove DataInterpolationsv6 and update tests
2 parents 5449800 + e74ef67 commit d3433aa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Combinatorics = "1"
9898
CommonSolve = "0.2.4"
9999
Compat = "3.42, 4"
100100
ConstructionBase = "1"
101-
DataInterpolations = "6.4, 7, 8"
101+
DataInterpolations = "7, 8"
102102
DataStructures = "0.17, 0.18"
103103
DeepDiffs = "1"
104104
DelayDiffEq = "5.50"

test/split_parameters.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ end
257257

258258
@testset "Concrete function type" begin
259259
ts = 0.0:0.1:1.0
260-
interp = LinearInterpolation(ts .^ 2, ts; extrapolate = true)
260+
interp = LinearInterpolation(ts .^ 2, ts; extrapolation = ExtrapolationType.Extension)
261261
@variables x(t)
262262
@parameters (fn::typeof(interp))(..)
263263
@mtkcompile sys = System(D(x) ~ fn(x), t)
@@ -267,7 +267,7 @@ end
267267
@inferred getter(prob)
268268
@inferred prob.f(prob.u0, prob.p, prob.tspan[1])
269269
@test_nowarn sol = solve(prob, Tsit5())
270-
@test_nowarn prob.ps[fn] = LinearInterpolation(ts .^ 3, ts; extrapolate = true)
270+
@test_nowarn prob.ps[fn] = LinearInterpolation(ts .^ 3, ts; extrapolation = ExtrapolationType.Extension)
271271
@test_nowarn sol = solve(prob)
272272
end
273273
end

0 commit comments

Comments
 (0)