Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit 0e32898

Browse files
committed
initialize result for D1 coloring
1 parent 3314809 commit 0e32898

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/coloring/greedy_d1_coloring.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ function color_graph(g::VSafeGraph, alg::GreedyD1Color)
1212
result = zeros(Int, v)
1313
result[1] = 1
1414
available = BitVector(undef, v)
15+
fill!(available, false)
1516
for i = 2:v
1617
for j in inneighbors(g, i)
1718
if result[j] != 0

0 commit comments

Comments
 (0)