From b9c831bc5f0de64f2c334347750149d047a10caa Mon Sep 17 00:00:00 2001 From: Lia Lenckowski Date: Wed, 27 Nov 2024 17:29:47 +0100 Subject: fix bug that randomly caused images to be ommitted from the output for the last ~14 months (oops) --- src/tsp_approx.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/tsp_approx.rs') diff --git a/src/tsp_approx.rs b/src/tsp_approx.rs index 4484b91..2c6cbf9 100644 --- a/src/tsp_approx.rs +++ b/src/tsp_approx.rs @@ -78,9 +78,6 @@ fn get_mst( subtrees.union(a, b); } - if mst.len() >= num_embeds { - break; - } } mst -- cgit v1.2.3-70-g09d2