Skip to content

Commit a0f2c73

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

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
@@ -691,11 +691,11 @@ function postprocess!(
691691
if neutralized_first == :rows
692692
# j represents a column in the context of bicoloring
693693
hub[s] = j
694-
color_used[j] = true
694+
color_used[color[j]] = true
695695
else # neutralized_first == :cols
696696
# i represents a row in the context of bicoloring
697697
hub[s] = i
698-
color_used[i] = true
698+
color_used[color[i]] = true
699699
end
700700
end
701701
end

0 commit comments

Comments
 (0)