Skip to content

Commit d554b68

Browse files
authored
Update src/coloring.jl
1 parent a554e3c commit d554b68

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/coloring.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,8 +451,7 @@ function TreeSet(
451451
end
452452

453453
# found_in_tree indicates if a given vertex is in each tree
454-
found_in_tree = Vector{Bool}(undef, nt)
455-
fill!(found_in_tree, false)
454+
found_in_tree = fill(false, nt)
456455

457456
# Maintain a record of visited trees to efficiently reset found_in_tree
458457
visited_trees = Vector{T}(undef, nt)

0 commit comments

Comments
 (0)