@@ -209,7 +209,7 @@ function ArrayInterfaceCore.matrix_colors(A::BlockBandedMatrices.BlockBandedMatr
209
209
blockwidth = l + u + 1
210
210
nblock = BlockBandedMatrices. blocksize (A, 2 )
211
211
cols = BlockArrays. blocklengths (axes (A, 2 ))
212
- blockcolors = _cycle (1 : blockwidth, nblock)
212
+ blockcolors = ArrayInterfaceCore . _cycle (1 : blockwidth, nblock)
213
213
# the reserved number of colors of a block is the maximum length of columns of blocks with the same block color
214
214
ncolors = [maximum (cols[i: blockwidth: nblock]) for i = 1 : blockwidth]
215
215
endinds = cumsum (ncolors)
@@ -228,7 +228,7 @@ function ArrayInterfaceCore.matrix_colors(A::BlockBandedMatrices.BandedBlockBand
228
228
subblockwidth = lambda + mu + 1
229
229
nblock = BlockBandedMatrices. blocksize (A, 2 )
230
230
cols = BlockArrays. blocklengths (axes (A, 2 ))
231
- blockcolors = _cycle (1 : blockwidth, nblock)
231
+ blockcolors = ArrayInterfaceCore . _cycle (1 : blockwidth, nblock)
232
232
# the reserved number of colors of a block is the min of subblockwidth and the largest length of columns of blocks with the same block color
233
233
ncolors = [
234
234
min (subblockwidth, maximum (cols[i: blockwidth: nblock]))
@@ -237,7 +237,7 @@ function ArrayInterfaceCore.matrix_colors(A::BlockBandedMatrices.BandedBlockBand
237
237
endinds = cumsum (ncolors)
238
238
startinds = [endinds[i] - ncolors[i] + 1 for i = 1 : min (blockwidth, nblock)]
239
239
colors = [
240
- _cycle (startinds[blockcolors[i]]: endinds[blockcolors[i]], cols[i])
240
+ ArrayInterfaceCore . _cycle (startinds[blockcolors[i]]: endinds[blockcolors[i]], cols[i])
241
241
for i = 1 : nblock
242
242
]
243
243
return reduce (vcat, colors)
0 commit comments