Skip to content

Commit 411e5f3

Browse files
authored
remove extra sub_materialize methods (#156)
1 parent 6bddde0 commit 411e5f3

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1616
Aqua = "0.6"
1717
ArrayLayouts = "1"
1818
BandedMatrices = "0.17.2"
19-
BlockArrays = "0.16.26"
19+
BlockArrays = "0.16.34"
2020
FillArrays = "1"
2121
MatrixFactorizations = "1"
2222
julia = "1.6"

src/linalg.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,7 @@ isblockbanded(V::SubArray{<:Any,2,<:Any,<:Tuple{<:BlockSlices, <:BlockSlices}})
100100
isblockbanded(parent(V))
101101

102102
sub_materialize(::AbstractBlockBandedLayout, V, _) = BlockBandedMatrix(V)
103-
sub_materialize(::AbstractBlockBandedLayout, V, ::Tuple{<:BlockedUnitRange,<:BlockedUnitRange}) = BlockBandedMatrix(V)
104103
sub_materialize(::BlockLayout{<:AbstractBandedLayout}, V, _) = BlockBandedMatrix(V)
105-
sub_materialize(::BlockLayout{<:AbstractBandedLayout}, V, ::Tuple{<:BlockedUnitRange,<:BlockedUnitRange}) = BlockBandedMatrix(V)
106104

107105
strides(V::SubBlockSkylineMatrix{<:Any,LL,UU,<:Union{BlockRange1,Block1},Block1}) where {LL,UU} =
108106
(1,parent(V).block_sizes.block_strides[Int(parentindices(V)[2].block)])

0 commit comments

Comments
 (0)