We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45aa7aa commit b20ac32Copy full SHA for b20ac32
1 file changed
src/coloring.jl
@@ -314,7 +314,7 @@ function _prevent_cycle!(
314
forbidden_colors::AbstractVector{<:Integer},
315
forest::Forest{<:Integer},
316
)
317
- 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
318
(p, q) = first_visit_to_tree[root_wx]
319
if p != v # T is being visited from vertex v for the first time
320
first_visit_to_tree[root_wx] = (v, w)
0 commit comments