Skip to content

Commit 6205f43

Browse files
authored
Move to TensorAlgebra 0.11 (#183)
## Summary Requires TensorAlgebra 0.11, where the blocked-permutation types this extension imported but never used are removed (ITensor/TensorAlgebra.jl#181). `SparseArraysBaseTensorAlgebraExt` imported `BlockedTrivialPermutation` and `BlockedTuple` without using them, so they are dropped from the import. The extension uses only the core `ReshapeFusion` style and `matricize` / `unmatricize`, which TensorAlgebra 0.11 keeps unchanged.
1 parent b9f5c9b commit 6205f43

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "SparseArraysBase"
22
uuid = "0d5efcca-f356-4864-8770-e1ed8d78f208"
3-
version = "0.10.0"
3+
version = "0.10.1"
44
authors = ["ITensor developers <support@itensor.org> and contributors"]
55

66
[workspace]
@@ -35,5 +35,5 @@ LinearAlgebra = "1.10"
3535
MapBroadcast = "0.1.5"
3636
Random = "1.10"
3737
SparseArrays = "1.10"
38-
TensorAlgebra = "0.10"
38+
TensorAlgebra = "0.11"
3939
julia = "1.10"

ext/SparseArraysBaseTensorAlgebraExt/SparseArraysBaseTensorAlgebraExt.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ module SparseArraysBaseTensorAlgebraExt
22

33
using SparseArrays: SparseMatrixCSC
44
using SparseArraysBase: AnyAbstractSparseArray, AnyAbstractSparseMatrix, SparseArrayDOK
5-
using TensorAlgebra: TensorAlgebra, BlockedTrivialPermutation, BlockedTuple, FusionStyle,
6-
ReshapeFusion, matricize, unmatricize
5+
using TensorAlgebra: TensorAlgebra, FusionStyle, ReshapeFusion, matricize, unmatricize
76

87
struct SparseArrayFusion <: FusionStyle end
98
TensorAlgebra.FusionStyle(::Type{<:AnyAbstractSparseArray}) = SparseArrayFusion()

test/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ SparseArrays = "1.10"
3434
SparseArraysBase = "0.10"
3535
StableRNGs = "1.0.2"
3636
Suppressor = "0.2.8"
37-
TensorAlgebra = "0.10"
37+
TensorAlgebra = "0.11"
3838
Test = "<0.0.1, 1"

0 commit comments

Comments
 (0)