Skip to content

Commit 147181a

Browse files
authored
Call BandedBlockBandedMatrix directly in SubOperator RaggedMatrix (#524)
1 parent 09ff46f commit 147181a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Operators/SubOperator.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ for TYP in (:RaggedMatrix, :Matrix)
354354
elseif isbandedblockbanded(A)
355355
N = block(rangespace(A), last(parentindices(V)[1]))
356356
M = block(domainspace(A), last(parentindices(V)[2]))
357-
B = A[Block(1):N, Block(1):M]
357+
B = BandedBlockBandedMatrix(view(A, Block(1):N, Block(1):M))
358358
RaggedMatrix{eltype(V)}(view(B, parentindices(V)...), _colstops(V))
359359
else
360360
$def_TYP(V)

0 commit comments

Comments
 (0)