Skip to content

Commit b83242d

Browse files
authored
Fix test for matmul with abstract block types (#151)
1 parent d55caaa commit b83242d

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "BlockSparseArrays"
22
uuid = "2c9a651f-6452-4ace-a6ac-809f4280fbb4"
33
authors = ["ITensor developers <[email protected]> and contributors"]
4-
version = "0.7.15"
4+
version = "0.7.16"
55

66
[deps]
77
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"

test/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ LinearAlgebra = "1"
3434
MatrixAlgebraKit = "0.2"
3535
Random = "1"
3636
SafeTestsets = "0.1"
37-
SparseArraysBase = "0.5"
37+
SparseArraysBase = "0.5.11"
3838
StableRNGs = "1"
3939
Suppressor = "0.2"
4040
TensorAlgebra = "0.3.2"

test/test_abstract_blocktype.jl

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ arrayts = (Array, JLArray)
3535
b = 3a
3636
@test Array(b) 3Array(a)
3737

38-
if arrayt === Array
39-
b = a * a
40-
@test Array(b) Array(a) * Array(a)
41-
else
42-
@test_broken a * a
43-
end
38+
b = a * a
39+
@test Array(b) Array(a) * Array(a)
4440
end

0 commit comments

Comments
 (0)