1515```julia
1616julia> using Pkg: Pkg
1717
18- julia> Pkg.add(url="https://github.com/ITensor/BroadcastMapConversion.jl")
19-
2018julia> Pkg.add(url="https://github.com/ITensor/NestedPermutedDimsArrays.jl")
2119
22- julia> Pkg.add(url="https://github.com/ITensor/TypeParameterAccessors.jl")
23-
2420julia> Pkg.add(url="https://github.com/ITensor/LabelledNumbers.jl")
2521
2622julia> Pkg.add(url="https://github.com/ITensor/GradedUnitRanges.jl")
2723
28- julia> Pkg.add(url="https://github.com/ITensor/SparseArraysBase.jl")
29-
3024julia> Pkg.add(url="https://github.com/ITensor/TensorAlgebra.jl")
3125
3226julia> Pkg.add(url="https://github.com/ITensor/BlockSparseArrays.jl")
@@ -36,7 +30,7 @@ julia> Pkg.add(url="https://github.com/ITensor/BlockSparseArrays.jl")
3630# ## Examples
3731
3832using BlockArrays: BlockArrays, BlockedVector, Block, blockedrange
39- using BlockSparseArrays: BlockSparseArray, block_stored_length
33+ using BlockSparseArrays: BlockSparseArray, block_storedlength
4034using Test: @test , @test_broken
4135
4236function main ()
@@ -63,13 +57,13 @@ function main()
6357 ]
6458 b = BlockSparseArray (nz_blocks, d_blocks, i_axes)
6559
66- @test block_stored_length (b) == 2
60+ @test block_storedlength (b) == 2
6761
6862 # # Blocks with discontiguous underlying data
6963 d_blocks = randn .(nz_block_sizes)
7064 b = BlockSparseArray (nz_blocks, d_blocks, i_axes)
7165
72- @test block_stored_length (b) == 2
66+ @test block_storedlength (b) == 2
7367
7468 # # Access a block
7569 @test b[Block (1 , 1 )] == d_blocks[1 ]
@@ -93,7 +87,7 @@ function main()
9387 @test b + b ≈ Array (b) + Array (b)
9488 @test b + b isa BlockSparseArray
9589 # # TODO : Fix this, broken.
96- @test_broken block_stored_length (b + b) == 2
90+ @test_broken block_storedlength (b + b) == 2
9791
9892 scaled_b = 2 b
9993 @test scaled_b ≈ 2 Array (b)
0 commit comments