@@ -209,7 +209,7 @@ function ArrayInterfaceCore.matrix_colors(A::BlockBandedMatrices.BlockBandedMatr
209209 blockwidth = l + u + 1
210210 nblock = BlockBandedMatrices. blocksize (A, 2 )
211211 cols = BlockArrays. blocklengths (axes (A, 2 ))
212- blockcolors = _cycle (1 : blockwidth, nblock)
212+ blockcolors = ArrayInterfaceCore . _cycle (1 : blockwidth, nblock)
213213 # the reserved number of colors of a block is the maximum length of columns of blocks with the same block color
214214 ncolors = [maximum (cols[i: blockwidth: nblock]) for i = 1 : blockwidth]
215215 endinds = cumsum (ncolors)
@@ -228,7 +228,7 @@ function ArrayInterfaceCore.matrix_colors(A::BlockBandedMatrices.BandedBlockBand
228228 subblockwidth = lambda + mu + 1
229229 nblock = BlockBandedMatrices. blocksize (A, 2 )
230230 cols = BlockArrays. blocklengths (axes (A, 2 ))
231- blockcolors = _cycle (1 : blockwidth, nblock)
231+ blockcolors = ArrayInterfaceCore . _cycle (1 : blockwidth, nblock)
232232 # 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
233233 ncolors = [
234234 min (subblockwidth, maximum (cols[i: blockwidth: nblock]))
@@ -237,7 +237,7 @@ function ArrayInterfaceCore.matrix_colors(A::BlockBandedMatrices.BandedBlockBand
237237 endinds = cumsum (ncolors)
238238 startinds = [endinds[i] - ncolors[i] + 1 for i = 1 : min (blockwidth, nblock)]
239239 colors = [
240- _cycle (startinds[blockcolors[i]]: endinds[blockcolors[i]], cols[i])
240+ ArrayInterfaceCore . _cycle (startinds[blockcolors[i]]: endinds[blockcolors[i]], cols[i])
241241 for i = 1 : nblock
242242 ]
243243 return reduce (vcat, colors)
0 commit comments