Skip to content

Commit 994d6bb

Browse files
Merge pull request SciML#369 from SouthEndMusic/fix_merge_problems
Fix merge issues
2 parents 6f7a38a + a33326e commit 994d6bb

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ RegularizationTools = "0.6"
4242
SafeTestsets = "0.1"
4343
StableRNGs = "1"
4444
Symbolics = "5.29, 6"
45-
Test = "1"
46-
Unitful = "1"
45+
Test = "1.10"
46+
Unitful = "1.21.1"
4747
Zygote = "0.6.70"
4848
julia = "1.10"
4949

src/interpolation_methods.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function _interpolate(A::LinearInterpolation{<:AbstractVector}, t::Number, igues
5959
idx = firstindex(A.u)
6060
t1 = t2 = oneunit(eltype(A.t))
6161
u1 = u2 = oneunit(eltype(A.u))
62-
slope = t/t * get_parameters(A, idx)
62+
slope = t / t * get_parameters(A, idx)
6363
else
6464
idx = get_idx(A, t, iguess)
6565
t1, t2 = A.t[idx], A.t[idx + 1]

test/interpolation_tests.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ end
108108
@test isnan(A(4.0))
109109

110110
u = [0.0, 1.0, 2.0, NaN]
111-
A = LinearInterpolation(u, t; extrapolate = true)
111+
A = LinearInterpolation(u, t; extrapolation = ExtrapolationType.Extension)
112112
@test A(1.0) == 0.0
113113
@test A(2.0) == 1.0
114114
@test A(3.0) == 2.0
@@ -146,9 +146,9 @@ end
146146

147147
# NaN time value for Unitful arrays: issue #365
148148
t = (0:3)u"s" # Unitful quantities
149-
u = [0, -2, -1, -2]u"m"
150-
A = LinearInterpolation(u, t; extrapolate = true)
151-
@test isnan(A(NaN*u"s"))
149+
u = [0, -2, -1, -2]u"m"
150+
A = LinearInterpolation(u, t; extrapolation = ExtrapolationType.Extension)
151+
@test isnan(A(NaN * u"s"))
152152

153153
# Nan time value:
154154
t = 0.0:3 # Floats

test/runtests.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ using SafeTestsets
77
@safetestset "Derivative Tests" include("derivative_tests.jl")
88
@safetestset "Integral Tests" include("integral_tests.jl")
99
@safetestset "Integral Inverse Tests" include("integral_inverse_tests.jl")
10-
@safetestset "Extrapolation" include("extrapolation_tests.jl")
10+
@safetestset "Extrapolation Tests" include("extrapolation_tests.jl")
1111
@safetestset "Online Tests" include("online_tests.jl")
12-
@safetestset "Regularization Smoothing" include("regularization.jl")
13-
@safetestset "Show methods" include("show.jl")
14-
@safetestset "Zygote support" include("zygote_tests.jl")
12+
@safetestset "Regularization Smoothing Tests" include("regularization.jl")
13+
@safetestset "Show methods Tests" include("show.jl")
14+
@safetestset "Zygote support Tests" include("zygote_tests.jl")

0 commit comments

Comments
 (0)