@@ -322,14 +322,14 @@ function _coloring(
322322 ag = AdjacencyGraph (A_and_Aᵀ, edge_to_index; has_diagonal= false )
323323 outputs_by_order = map (algo. orders) do order
324324 vertices_in_order = vertices (ag, order)
325- color, star_set = star_coloring (ag, vertices_in_order, algo. postprocessing)
326- row_color, column_color , _ = remap_colors (
327- eltype (ag), color , maximum (color ), size (A)...
325+ _color, _star_set = star_coloring (ag, vertices_in_order, algo. postprocessing)
326+ _row_color, _column_color , _ = remap_colors (
327+ eltype (ag), _color , maximum (_color ), size (A)...
328328 )
329- return (; color, star_set, row_color, column_color )
329+ return (_color, _star_set, _row_color, _column_color )
330330 end
331- (; color, star_set, row_color, column_color) = argmin (
332- t -> maximum (t. row_color ) + maximum (t. column_color ), outputs_by_order
331+ (color, star_set, row_color, column_color) = argmin (
332+ t -> maximum (t[ 3 ] ) + maximum (t[ 4 ] ), outputs_by_order
333333 ) # can't use ncolors without computing the full result
334334 if speed_setting isa WithResult
335335 symmetric_result = StarSetColoringResult (A_and_Aᵀ, ag, color, star_set)
@@ -351,14 +351,14 @@ function _coloring(
351351 ag = AdjacencyGraph (A_and_Aᵀ, edge_to_index; has_diagonal= false )
352352 outputs_by_order = map (algo. orders) do order
353353 vertices_in_order = vertices (ag, order)
354- color, tree_set = acyclic_coloring (ag, vertices_in_order, algo. postprocessing)
355- row_color, column_color , _ = remap_colors (
356- eltype (ag), color , maximum (color ), size (A)...
354+ _color, _tree_set = acyclic_coloring (ag, vertices_in_order, algo. postprocessing)
355+ _row_color, _column_color , _ = remap_colors (
356+ eltype (ag), _color , maximum (_color ), size (A)...
357357 )
358- return (; color, tree_set, row_color, column_color )
358+ return (; _color, _tree_set, _row_color, _column_color )
359359 end
360- (; color, tree_set, row_color, column_color) = argmin (
361- t -> maximum (t. row_color ) + maximum (t. column_color ), outputs_by_order
360+ (color, tree_set, row_color, column_color) = argmin (
361+ t -> maximum (t[ 3 ] ) + maximum (t[ 4 ] ), outputs_by_order
362362 ) # can't use ncolors without computing the full result
363363 if speed_setting isa WithResult
364364 symmetric_result = TreeSetColoringResult (A_and_Aᵀ, ag, color, tree_set, R)
0 commit comments