diff --git a/Project.toml b/Project.toml index 6c99f47..365054b 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "KroneckerArrays" uuid = "05d0b138-81bc-4ff7-84be-08becefb1ccc" authors = ["ITensor developers and contributors"] -version = "0.1.15" +version = "0.1.16" [deps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" @@ -23,7 +23,7 @@ KroneckerArraysBlockSparseArraysExt = ["BlockArrays", "BlockSparseArrays"] [compat] Adapt = "4.3.0" BlockArrays = "1.6" -BlockSparseArrays = "0.7.13" +BlockSparseArrays = "0.7.19" DerivableInterfaces = "0.5.0" DiagonalArrays = "0.3.5" FillArrays = "1.13.0" diff --git a/test/Project.toml b/test/Project.toml index 8d55cb0..ce07896 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -19,7 +19,7 @@ TestExtras = "5ed8adda-3752-4e41-b88a-e8b09835ee3a" Adapt = "4" Aqua = "0.8" BlockArrays = "1.6" -BlockSparseArrays = "0.7.12" +BlockSparseArrays = "0.7.19" DerivableInterfaces = "0.5" FillArrays = "1" JLArrays = "0.2" diff --git a/test/test_blocksparsearrays.jl b/test/test_blocksparsearrays.jl index 178e6bd..d5d0e56 100644 --- a/test/test_blocksparsearrays.jl +++ b/test/test_blocksparsearrays.jl @@ -56,11 +56,10 @@ arrayts = (Array, JLArray) @test norm(a) ≈ norm(Array(a)) - if arrayt == Array + if arrayt === Array @test Array(inv(a)) ≈ inv(Array(a)) else - # Broken for JLArray, it seems like `inv` isn't - # type stable. + # Broken on GPU. @test_broken inv(a) end @@ -149,8 +148,14 @@ end @test_broken svd_compact(a) end + if arrayt === Array + @test Array(inv(a)) ≈ inv(Array(a)) + else + # Broken on GPU. + @test_broken inv(a) + end + # Broken operations - @test_broken inv(a) @test_broken a[Block.(1:2), Block(2)] @testset "Block deficient" begin