Skip to content

Commit b20ac32

Browse files
authored
Update coloring.jl (#240)
1 parent 45aa7aa commit b20ac32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/coloring.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ function _prevent_cycle!(
314314
forbidden_colors::AbstractVector{<:Integer},
315315
forest::Forest{<:Integer},
316316
)
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
317+
root_wx = find_root!(forest, index_wx) # root of the 2-colored tree T to which the edge wx belongs
318318
(p, q) = first_visit_to_tree[root_wx]
319319
if p != v # T is being visited from vertex v for the first time
320320
first_visit_to_tree[root_wx] = (v, w)

0 commit comments

Comments
 (0)