Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "BlockSparseArrays"
uuid = "2c9a651f-6452-4ace-a6ac-809f4280fbb4"
authors = ["ITensor developers <support@itensor.org> and contributors"]
version = "0.10.9"
version = "0.10.10"

[deps]
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
Expand Down
2 changes: 1 addition & 1 deletion test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ TypeParameterAccessors = "7e5a90cf-f82e-492e-a09b-e3e26432c138"
Adapt = "4"
Aqua = "0.8"
ArrayLayouts = "1"
BlockArrays = "1"
BlockArrays = "1.8"
BlockSparseArrays = "0.10"
DerivableInterfaces = "0.5"
DiagonalArrays = "0.3"
Expand Down
6 changes: 3 additions & 3 deletions test/test_basics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@ arrayts = (Array, JLArray)
end
@testset "blockstype, blocktype" begin
a = arrayt(randn(elt, 2, 2))
@test (@constinferred blockstype(a)) <: BlockArrays.BlocksView{elt, 2}
@test (@constinferred blockstype(a)) <: BlockArrays.BlockView{elt, 2}
# TODO: This is difficult to determine just from type information.
@test_broken blockstype(typeof(a)) <: BlockArrays.BlocksView{elt, 2}
@test (@constinferred blocktype(a)) <: SubArray{elt, 2, arrayt{elt, 2}}
@test_broken blockstype(typeof(a)) <: BlockArrays.BlockView{elt, 2}
@test (@constinferred blocktype(a)) <: arrayt{elt, 2}
# TODO: This is difficult to determine just from type information.
@test_broken blocktype(typeof(a)) <: SubArray{elt, 2, arrayt{elt, 2}}

Expand Down
Loading