Skip to content

Commit 0fc3234

Browse files
committed
Update BandedBlockBandedMatrix.jl
1 parent cfc75eb commit 0fc3234

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/BandedBlockBandedMatrix.jl

+2-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,8 @@ end
346346
if -A.u K-J A.l
347347
inbands_viewblock(A, KJ)
348348
else
349-
_BandedMatrix(view(A.data, Block(1,1)), blocklengths(A,1)[Block(K)], (-40320,-40320))
349+
dat = view(A.data, Block(1,1))
350+
_BandedMatrix(dat, length(axes(A,1)[Block(K)]), size(dat,1)-1,0)
350351
end
351352
end
352353

0 commit comments

Comments
 (0)