|
786 | 786 | u = [u_[:, i] for i in 1:size(u_, 2)] |
787 | 787 | # Test Vector{Vector} interpolation |
788 | 788 | @test @inferred(CubicSpline(u, t; extrapolation = ExtrapolationType.Extension)) isa |
789 | | - CubicSpline broken=VERSION < v"1.11" |
| 789 | + CubicSpline |
790 | 790 | A = CubicSpline(u, t; extrapolation = ExtrapolationType.Extension) |
791 | 791 | for x in (-1.5, -0.5, -0.7) |
792 | 792 | @test A(x) ≈ P₁(x) * ones(4) |
|
810 | 810 | # Test Vector{Matrix} interpolation |
811 | 811 | u = [repeat(u[i], 1, 3) for i in 1:3] |
812 | 812 | @test @inferred(CubicSpline( |
813 | | - u, t; extrapolation = ExtrapolationType.Extension)) isa CubicSpline broken=VERSION < v"1.11" |
| 813 | + u, t; extrapolation = ExtrapolationType.Extension)) isa CubicSpline |
814 | 814 | A = CubicSpline(u, t; extrapolation = ExtrapolationType.Extension) |
815 | 815 | for x in (-1.5, -0.5, -0.7) |
816 | 816 | @test A(x) ≈ P₁(x) * ones(4, 3) |
|
846 | 846 | 0.0 cos(2t)] |
847 | 847 | t = 0.1:0.1:1.0 |
848 | 848 | u3d = f3d.(t) |
849 | | - @test @inferred(CubicSpline(u3d, t)) isa CubicSpline broken=VERSION < v"1.11" |
| 849 | + @test @inferred(CubicSpline(u3d, t)) isa CubicSpline |
850 | 850 | c = CubicSpline(u3d, t) |
851 | 851 | t_test = 0.1:0.05:1.0 |
852 | 852 | u_test = reduce(hcat, c.(t_test)) |
|
0 commit comments