diff --git a/lib/ArrayInterfaceStaticArraysCore/Project.toml b/lib/ArrayInterfaceStaticArraysCore/Project.toml index 69b08ecb7..428e4e5ca 100644 --- a/lib/ArrayInterfaceStaticArraysCore/Project.toml +++ b/lib/ArrayInterfaceStaticArraysCore/Project.toml @@ -1,15 +1,13 @@ name = "ArrayInterfaceStaticArraysCore" uuid = "dd5226c6-a4d4-4bc7-8575-46859f9c95b9" -version = "0.1.3" +version = "0.1.4" [deps] -Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" ArrayInterfaceCore = "30b0a656-2188-435a-8636-2ec0e6a096e2" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" StaticArraysCore = "1e83bf80-4336-4d27-bf5d-d5a4f845583c" [compat] -Adapt = "3" ArrayInterfaceCore = "0.1.22" StaticArraysCore = "1" julia = "1.6" diff --git a/lib/ArrayInterfaceStaticArraysCore/src/ArrayInterfaceStaticArraysCore.jl b/lib/ArrayInterfaceStaticArraysCore/src/ArrayInterfaceStaticArraysCore.jl index 9a8d0146f..ebba5e321 100644 --- a/lib/ArrayInterfaceStaticArraysCore/src/ArrayInterfaceStaticArraysCore.jl +++ b/lib/ArrayInterfaceStaticArraysCore/src/ArrayInterfaceStaticArraysCore.jl @@ -1,6 +1,6 @@ module ArrayInterfaceStaticArraysCore -import StaticArraysCore, ArrayInterfaceCore, Adapt +import StaticArraysCore, ArrayInterfaceCore using LinearAlgebra function ArrayInterfaceCore.undefmatrix(::StaticArraysCore.MArray{S, T, N, L}) where {S, T, N, L} @@ -28,6 +28,4 @@ function ArrayInterfaceCore.restructure(x::StaticArraysCore.SArray{S,T,N}, y::St end ArrayInterfaceCore.restructure(x::StaticArraysCore.SArray{S}, y) where {S} = StaticArraysCore.SArray{S}(y) -Adapt.adapt_storage(::Type{<:StaticArraysCore.SArray{S}}, xs::Array) where {S} = SArray{S}(xs) - end