Skip to content

Commit 8db47d4

Browse files
authored
Update src/coloring.jl
1 parent 39b3fa8 commit 8db47d4

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
@@ -424,7 +424,7 @@ function TreeSet(
424424
# Note: the number of vertices in a tree is equal the number of edges plus one
425425
nvmax = maximum(tree_edge_indices) + one(T)
426426

427-
# Vector containing the list of vertices, grouped by tree
427+
# Vector containing the list of vertices, grouped by tree (each vertex appears once for every tree it belongs to)
428428
# Note: the total number of edges in the graph is "ne", so there are "ne + nt" vertices across all trees
429429
tree_vertices = Vector{T}(undef, ne + nt)
430430

0 commit comments

Comments
 (0)