We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a554e3c commit d554b68Copy full SHA for d554b68
1 file changed
src/coloring.jl
@@ -451,8 +451,7 @@ function TreeSet(
451
end
452
453
# 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)
+ found_in_tree = fill(false, nt)
456
457
# Maintain a record of visited trees to efficiently reset found_in_tree
458
visited_trees = Vector{T}(undef, nt)
0 commit comments