Skip to content

Commit e489457

Browse files
authored
Update tests to BlockArrays.jl v1.8 (#186)
1 parent 99413d9 commit e489457

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
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.10.9"
4+
version = "0.10.10"
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
@@ -24,7 +24,7 @@ TypeParameterAccessors = "7e5a90cf-f82e-492e-a09b-e3e26432c138"
2424
Adapt = "4"
2525
Aqua = "0.8"
2626
ArrayLayouts = "1"
27-
BlockArrays = "1"
27+
BlockArrays = "1.8"
2828
BlockSparseArrays = "0.10"
2929
DerivableInterfaces = "0.5"
3030
DiagonalArrays = "0.3"

test/test_basics.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,10 @@ arrayts = (Array, JLArray)
181181
end
182182
@testset "blockstype, blocktype" begin
183183
a = arrayt(randn(elt, 2, 2))
184-
@test (@constinferred blockstype(a)) <: BlockArrays.BlocksView{elt, 2}
184+
@test (@constinferred blockstype(a)) <: BlockArrays.BlockView{elt, 2}
185185
# TODO: This is difficult to determine just from type information.
186-
@test_broken blockstype(typeof(a)) <: BlockArrays.BlocksView{elt, 2}
187-
@test (@constinferred blocktype(a)) <: SubArray{elt, 2, arrayt{elt, 2}}
186+
@test_broken blockstype(typeof(a)) <: BlockArrays.BlockView{elt, 2}
187+
@test (@constinferred blocktype(a)) <: arrayt{elt, 2}
188188
# TODO: This is difficult to determine just from type information.
189189
@test_broken blocktype(typeof(a)) <: SubArray{elt, 2, arrayt{elt, 2}}
190190

0 commit comments

Comments
 (0)