diff --git a/Project.toml b/Project.toml index 6817bce..65ec019 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "SparseArraysBase" uuid = "0d5efcca-f356-4864-8770-e1ed8d78f208" authors = ["ITensor developers and contributors"] -version = "0.8.1" +version = "0.8.2" [deps] Accessors = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697" diff --git a/src/abstractsparsearray.jl b/src/abstractsparsearray.jl index c835b48..261db08 100644 --- a/src/abstractsparsearray.jl +++ b/src/abstractsparsearray.jl @@ -5,8 +5,13 @@ const AbstractSparseVector{T} = AbstractSparseArray{T, 1} const AbstractSparseMatrix{T} = AbstractSparseArray{T, 2} using Adapt: WrappedArray +using LinearAlgebra: Adjoint, Transpose const WrappedAbstractSparseArray{T, N} = - WrappedArray{T, N, AbstractSparseArray, AbstractSparseArray{T, N}} + Union{ + WrappedArray{T, N, AbstractSparseArray, AbstractSparseArray{T, N}}, + Adjoint{T, <:AbstractSparseArray}, + Transpose{T, <:AbstractSparseArray}, +} const AnyAbstractSparseArray{T, N} = Union{ AbstractSparseArray{T, N}, WrappedAbstractSparseArray{T, N}, } diff --git a/test/Project.toml b/test/Project.toml index f625478..30f697e 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -26,6 +26,7 @@ Aqua = "0.8.11" ArrayLayouts = "1.11.1" Dictionaries = "0.4.4" FillArrays = "1.13.0" +FunctionImplementations = "0.3" JLArrays = "0.2.0, 0.3" LinearAlgebra = "<0.0.1, 1" NamedDimsArrays = "0.12"