Skip to content

Commit cb34a1c

Browse files
authored
Apply suggestions from code review
1 parent 8053fad commit cb34a1c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/coloring.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ function postprocess!(
642642
end
643643

644644
# Process the trivial stars (if any)
645-
nb_nunknown_hubs = nb_trivial_stars
645+
nb_unknown_hubs = nb_trivial_stars
646646
if nb_trivial_stars > 0
647647
rvS = rowvals(S)
648648
for j in axes(S, 2)
@@ -676,7 +676,7 @@ function postprocess!(
676676
# In the context of bicoloring, if we want to minimize the number of row colors OR the number of column colors,
677677
# we can have the optimal post-processing by taking as hub the vertices in the other partition.
678678
# It is optimal because we will never increase the number of colors in the partition specified by `neutralized_first`
679-
# in this phase and everything else in the post-processing is deterministed.
679+
# in this phase and everything else in the post-processing is deterministic.
680680
if nb_unknown_hubs > 0
681681
rvS = rowvals(S)
682682
for j in axes(S, 2)

0 commit comments

Comments
 (0)