diff --git a/Project.toml b/Project.toml index 617c54b..322dc7d 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "SparseArraysBase" uuid = "0d5efcca-f356-4864-8770-e1ed8d78f208" -version = "0.10.4" +version = "0.10.5" authors = ["ITensor developers and contributors"] [workspace] @@ -35,5 +35,5 @@ LinearAlgebra = "1.10" MapBroadcast = "0.1.5" Random = "1.10" SparseArrays = "1.10" -TensorAlgebra = "0.14" +TensorAlgebra = "0.15" julia = "1.10" diff --git a/test/Project.toml b/test/Project.toml index 252666c..7505d77 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -34,5 +34,5 @@ SparseArrays = "1.10" SparseArraysBase = "0.10" StableRNGs = "1.0.2" Suppressor = "0.2.8" -TensorAlgebra = "0.14" +TensorAlgebra = "0.15" Test = "<0.0.1, 1" diff --git a/test/test_tensoralgebraext.jl b/test/test_tensoralgebraext.jl index 59b5fcd..01543e5 100644 --- a/test/test_tensoralgebraext.jl +++ b/test/test_tensoralgebraext.jl @@ -1,7 +1,7 @@ using SparseArrays: SparseMatrixCSC, findnz, nnz using SparseArraysBase: SparseMatrixDOK, eachstoredindex, isstored, sparsezeros, storedlength -using TensorAlgebra: contract, matricize +using TensorAlgebra: contract, matricizeperm using Test: @test, @testset @testset "TensorAlgebraExt (eltype = $elt)" for elt in (Float32, ComplexF64) @@ -10,7 +10,7 @@ using Test: @test, @testset a[2, 1, 2] = 2 # matricize - m = matricize(a, (1, 3), (2,)) + m = matricizeperm(a, (1, 3), (2,)) @test m isa SparseMatrixCSC{elt} @test nnz(m) == 2 @test isstored(m, 1, 1)