Skip to content

Commit 390d009

Browse files
committed
Apply suggestions from code review
1 parent 9cbb93a commit 390d009

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
@@ -733,11 +733,11 @@ function postprocess!(
733733
if neutralized_first == :rows
734734
# j represents a column in the context of bicoloring
735735
hub[s] = j
736-
color_used[j] = true
736+
color_used[color[j]] = true
737737
else # neutralized_first == :cols
738738
# i represents a row in the context of bicoloring
739739
hub[s] = i
740-
color_used[i] = true
740+
color_used[color[i]] = true
741741
end
742742
end
743743
end

0 commit comments

Comments
 (0)