Skip to content

Commit b3b2d0f

Browse files
Use ArrayInterfaceCore
1 parent fdc2330 commit b3b2d0f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Project.toml

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

66
[deps]
7-
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
7+
ArrayInterfaceCore = "30b0a656-2188-435a-8636-2ec0e6a096e2"
88
ArrayInterfaceStaticArrays = "b0d46f97-bff5-4637-a19a-dd75974142cd"
99
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
1010
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
@@ -14,7 +14,7 @@ PreallocationTools = "d236fae5-4411-538c-8e31-a6e3d9e00b46"
1414
RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd"
1515

1616
[compat]
17-
ArrayInterface = "2.8, 3.0, 4, 5, 6"
17+
ArrayInterfaceCore = "0.1.13"
1818
ArrayInterfaceStaticArrays = "0.1"
1919
ChainRulesCore = "1"
2020
MacroTools = "0.5"

src/LabelledArrays.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module LabelledArrays
22

3-
using LinearAlgebra, StaticArrays, ArrayInterface
3+
using LinearAlgebra, StaticArrays, ArrayInterfaceCore
44
import RecursiveArrayTools, PreallocationTools
55

66
include("slarray.jl")
@@ -59,10 +59,10 @@ end
5959
Base.NamedTuple(x::Union{LArray, SLArray}) = NamedTuple{symnames(typeof(x))}(x.__x)
6060
@inline Base.reshape(a::SLArray, s::Size) = StaticArrays.similar_type(a, s)(Tuple(a))
6161

62-
function ArrayInterface.ismutable(::Type{<:LArray{T, N, Syms}}) where {T, N, Syms}
63-
ArrayInterface.ismutable(T)
62+
function ArrayInterfaceCore.ismutable(::Type{<:LArray{T, N, Syms}}) where {T, N, Syms}
63+
ArrayInterfaceCore.ismutable(T)
6464
end
65-
ArrayInterface.can_setindex(::Type{<:SLArray}) = false
65+
ArrayInterfaceCore.can_setindex(::Type{<:SLArray}) = false
6666

6767
function PreallocationTools.get_tmp(dc::PreallocationTools.DiffCache,
6868
u::LArray{T, N, D, Syms}) where {T, N, D, Syms}

0 commit comments

Comments
 (0)