Skip to content

Commit a314d12

Browse files
authored
Remove unused arguments from internal functions (#295)
1 parent 31999f1 commit a314d12

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/coloring.jl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ function acyclic_coloring(
302302
_prevent_cycle!(
303303
v,
304304
w,
305-
x,
306305
index_wx,
307306
color_x,
308307
first_visit_to_tree,
@@ -333,7 +332,7 @@ function acyclic_coloring(
333332
color_x = color[x]
334333
(x == v || iszero(color_x)) && continue
335334
if color_x == color[v]
336-
_merge_trees!(v, w, x, index_vw, index_wx, forest) # merge trees T₁ ∋ vw and T₂ ∋ wx if T₁ != T₂
335+
_merge_trees!(index_vw, index_wx, forest) # merge trees T₁ ∋ vw and T₂ ∋ wx if T₁ != T₂
337336
end
338337
end
339338
end
@@ -354,7 +353,6 @@ function _prevent_cycle!(
354353
# not modified
355354
v::Integer,
356355
w::Integer,
357-
x::Integer,
358356
index_wx::Integer,
359357
color_x::Integer,
360358
# modified
@@ -396,9 +394,6 @@ end
396394

397395
function _merge_trees!(
398396
# not modified
399-
v::Integer,
400-
w::Integer,
401-
x::Integer,
402397
index_vw::Integer,
403398
index_wx::Integer,
404399
# modified

0 commit comments

Comments
 (0)