Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/coloring.jl
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ function _prevent_cycle!(
forbidden_colors::AbstractVector{<:Integer},
forest::Forest{<:Integer},
)
root_wx = find_root!(forest, index_wx) # The edge wx belongs to the 2-colored tree T, represented by an edge with an integer ID
root_wx = find_root!(forest, index_wx) # root of the 2-colored tree T to which the edge wx belongs
(p, q) = first_visit_to_tree[root_wx]
if p != v # T is being visited from vertex v for the first time
first_visit_to_tree[root_wx] = (v, w)
Expand Down