Skip to content

Commit e4829dd

Browse files
chore: update RecursiveArrayTools compat, fix test
1 parent 169b1cc commit e4829dd

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
name = "LabelledArrays"
22
uuid = "2ee39098-c373-598a-b85f-a56591580800"
33
authors = ["Chris Rackauckas <[email protected]>"]
4-
version = "1.14.0"
4+
version = "1.14.1"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
88
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
99
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
1010
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1111
MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
12-
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
1312
PreallocationTools = "d236fae5-4411-538c-8e31-a6e3d9e00b46"
1413
RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd"
14+
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
1515

1616
[compat]
1717
ArrayInterface = "7"
1818
ChainRulesCore = "1"
1919
ForwardDiff = "0.10.3"
2020
MacroTools = "0.5"
2121
PreallocationTools = "0.4"
22-
RecursiveArrayTools = "2"
22+
RecursiveArrayTools = "2,3"
2323
StaticArrays = "1.0"
2424
julia = "1.6"
2525

test/diffeq.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ p = LorenzParameterVector(10.0, 28.0, 8 / 3)
1515
tspan = (0.0, 10.0)
1616
prob = ODEProblem(f, u0, tspan, p)
1717
sol = solve(prob, Rosenbrock23())
18-
@test sol.retcode == :Success
18+
@test sol.retcode == SciMLBase.ReturnCode.Success
1919
sol = solve(prob, Tsit5())
2020
@test prob.u0 === sol.u[1] === u0
2121
@test prob.p === p
22-
@test sol[10].x > 0
22+
@test sol[:, 10].x > 0
2323

2424
function iip_f(du, u, p, t)
2525
du.x = p.σ * (u.y - u.x)
@@ -39,4 +39,4 @@ sol = solve(prob, Rosenbrock23())
3939
sol = solve(prob, Tsit5())
4040
@test typeof(prob.u0) == eltype(sol.u) == typeof(u0)
4141
@test prob.p === p
42-
@test sol[10].x > 0
42+
@test sol[:, 10].x > 0

test/larrays.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ using LabelledArrays, Test, InteractiveUtils
1818

1919
z = LabelledArrays.LArray{Float64, 1, Vector{Float64}, (x = 1:4, y = 5:8)}(undef, 8)
2020
@test length(z) == 8
21-
@test size(LabelledArrays.ArrayInterfaceCore.undefmatrix(z)) == (8, 8)
21+
@test size(LabelledArrays.ArrayInterface.undefmatrix(z)) == (8, 8)
2222

2323
for (i, s) in enumerate(syms)
2424
@show i, s

0 commit comments

Comments
 (0)