Skip to content

Commit cbb3cbf

Browse files
committed
Update ModalInterlace.jl
1 parent 675f98e commit cbb3cbf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ModalInterlace.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ sublayout(::Union{ModalInterlaceLayout,LazyModalInterlaceLayout}, ::Type{<:NTupl
4848

4949

5050
function sub_materialize(::ModalInterlaceLayout, V::AbstractMatrix{T}) where T
51-
KR,JR = parentindices(V)
51+
kr,jr = parentindices(V)
52+
KR,JR = kr.block,jr.block
5253
M,N = Int(last(KR)), Int(last(JR))
5354
R = parent(V)
5455
ModalInterlace{T}([R.ops[m][1:(M-m+2)÷2,1:(N-m+2)÷2] for m=1:min(N,M)], (M,N), R.bandwidths)

0 commit comments

Comments
 (0)