Skip to content

chore: update RecursiveArrayTools compat #149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
name = "LabelledArrays"
uuid = "2ee39098-c373-598a-b85f-a56591580800"
authors = ["Chris Rackauckas <[email protected]>"]
version = "1.14.0"
version = "1.14.1"

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

[compat]
ArrayInterface = "7"
ChainRulesCore = "1"
ForwardDiff = "0.10.3"
MacroTools = "0.5"
PreallocationTools = "0.4"
RecursiveArrayTools = "2"
RecursiveArrayTools = "2,3"
StaticArrays = "1.0"
julia = "1.6"

Expand Down
6 changes: 3 additions & 3 deletions test/diffeq.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ p = LorenzParameterVector(10.0, 28.0, 8 / 3)
tspan = (0.0, 10.0)
prob = ODEProblem(f, u0, tspan, p)
sol = solve(prob, Rosenbrock23())
@test sol.retcode == :Success
@test sol.retcode == SciMLBase.ReturnCode.Success
sol = solve(prob, Tsit5())
@test prob.u0 === sol.u[1] === u0
@test prob.p === p
@test sol[10].x > 0
@test sol[:, 10].x > 0

function iip_f(du, u, p, t)
du.x = p.σ * (u.y - u.x)
Expand All @@ -39,4 +39,4 @@ sol = solve(prob, Rosenbrock23())
sol = solve(prob, Tsit5())
@test typeof(prob.u0) == eltype(sol.u) == typeof(u0)
@test prob.p === p
@test sol[10].x > 0
@test sol[:, 10].x > 0
2 changes: 1 addition & 1 deletion test/larrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ using LabelledArrays, Test, InteractiveUtils

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

for (i, s) in enumerate(syms)
@show i, s
Expand Down