@@ -19,9 +19,9 @@ function BlockBandedMatrixIndex(nrowblock, ncolblock, rowsizes, colsizes, l, u)
1919 blockcolind = ArrayInterfaceBandedMatrices. BandedMatrixIndex (nrowblock, ncolblock, l, u, false )
2020 sortedinds = sort (
2121 [(blockrowind[i], blockcolind[i]) for i = 1 : length (blockrowind)],
22- by = x -> x[1 ],
22+ by= x -> x[1 ],
2323 )
24- sort! (sortedinds, by = x -> x[2 ], alg = InsertionSort)# stable sort keeps the second index in order
24+ sort! (sortedinds, by= x -> x[2 ], alg= InsertionSort)# stable sort keeps the second index in order
2525 refinds = Array {Int,1} ()
2626 refrowcoords = Array {Int,1} ()
2727 refcolcoords = Array {Int,1} ()
@@ -132,9 +132,9 @@ function BandedBlockBandedMatrixIndex(
132132 blockcolind = ArrayInterfaceBandedMatrices. BandedMatrixIndex (nrowblock, ncolblock, l, u, false )
133133 sortedinds = sort (
134134 [(blockrowind[i], blockcolind[i]) for i = 1 : length (blockrowind)],
135- by = x -> x[1 ],
135+ by= x -> x[1 ],
136136 )
137- sort! (sortedinds, by = x -> x[2 ], alg = InsertionSort)# stable sort keeps the second index in order
137+ sort! (sortedinds, by= x -> x[2 ], alg= InsertionSort)# stable sort keeps the second index in order
138138 rowheights = pushfirst! (copy (rowsizes), 1 )
139139 cumsum! (rowheights, rowheights)
140140 colwidths = pushfirst! (copy (colsizes), 1 )
@@ -218,7 +218,7 @@ function ArrayInterfaceCore.matrix_colors(A::BlockBandedMatrices.BlockBandedMatr
218218 (startinds[blockcolors[i]]: endinds[blockcolors[i]])[1 : cols[i]]
219219 for i = 1 : nblock
220220 ]
221- return reduce (vcat,colors)
221+ return reduce (vcat, colors)
222222end
223223
224224function ArrayInterfaceCore. matrix_colors (A:: BlockBandedMatrices.BandedBlockBandedMatrix )
0 commit comments