From 5ee468092011f5b4b422ef19440bb20d6a111916 Mon Sep 17 00:00:00 2001 From: Alexis Montoison <35051714+amontoison@users.noreply.github.com> Date: Sat, 29 Mar 2025 16:04:20 -0500 Subject: [PATCH] Update coloring.jl Remove a useless call to _sort --- src/coloring.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/src/coloring.jl b/src/coloring.jl index c1d303f3..61940043 100644 --- a/src/coloring.jl +++ b/src/coloring.jl @@ -365,7 +365,6 @@ function _prevent_cycle!( id = find_root!(forest, wx) # The edge wx belongs to the 2-colored tree T, represented by an edge with an integer ID (p, q) = first_visit_to_tree[id] if p != v # T is being visited from vertex v for the first time - vw = _sort(v, w) first_visit_to_tree[id] = (v, w) elseif q != w # T is connected to vertex v via at least two edges forbidden_colors[color[x]] = v