From 7096108d91430f993011f4f47888ff9d8414cbcd Mon Sep 17 00:00:00 2001 From: "Guilherme S. Salustiano" Date: Fri, 26 Jan 2024 20:57:52 +0100 Subject: [PATCH] valley free always have one graph --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index dd7dd61..fd57349 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -249,6 +249,7 @@ impl Topology { let mut up_seen = Vec::new(); // add first + topo.graph.add_node(asn); up_path_queue.push(asn); while !up_path_queue.is_empty() {