Skip to content

Commit b119ee6

Browse files
committed
Fix @inferred tests on Julia < 1.11
1 parent 01b5a8d commit b119ee6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/interpolation_tests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ end
786786
u = [u_[:, i] for i in 1:size(u_, 2)]
787787
# Test Vector{Vector} interpolation
788788
@test @inferred(CubicSpline(u, t; extrapolation = ExtrapolationType.Extension)) isa
789-
CubicSpline broken=VERSION < v"1.11"
789+
CubicSpline
790790
A = CubicSpline(u, t; extrapolation = ExtrapolationType.Extension)
791791
for x in (-1.5, -0.5, -0.7)
792792
@test A(x) P₁(x) * ones(4)
@@ -810,7 +810,7 @@ end
810810
# Test Vector{Matrix} interpolation
811811
u = [repeat(u[i], 1, 3) for i in 1:3]
812812
@test @inferred(CubicSpline(
813-
u, t; extrapolation = ExtrapolationType.Extension)) isa CubicSpline broken=VERSION < v"1.11"
813+
u, t; extrapolation = ExtrapolationType.Extension)) isa CubicSpline
814814
A = CubicSpline(u, t; extrapolation = ExtrapolationType.Extension)
815815
for x in (-1.5, -0.5, -0.7)
816816
@test A(x) P₁(x) * ones(4, 3)
@@ -846,7 +846,7 @@ end
846846
0.0 cos(2t)]
847847
t = 0.1:0.1:1.0
848848
u3d = f3d.(t)
849-
@test @inferred(CubicSpline(u3d, t)) isa CubicSpline broken=VERSION < v"1.11"
849+
@test @inferred(CubicSpline(u3d, t)) isa CubicSpline
850850
c = CubicSpline(u3d, t)
851851
t_test = 0.1:0.05:1.0
852852
u_test = reduce(hcat, c.(t_test))

0 commit comments

Comments
 (0)