diff options
author | Lia Lenckowski <lialenck@protonmail.com> | 2024-11-27 17:29:47 +0100 |
---|---|---|
committer | Lia Lenckowski <lialenck@protonmail.com> | 2024-11-27 17:29:47 +0100 |
commit | b9c831bc5f0de64f2c334347750149d047a10caa (patch) | |
tree | f1b7fcbdde0e0e27977f261ce2ae4a5bc0bfefb0 | |
parent | 71ba8b2c3e97cf7387f6021cb440e2845e86f303 (diff) | |
download | embeddings-sort-b9c831bc5f0de64f2c334347750149d047a10caa.tar embeddings-sort-b9c831bc5f0de64f2c334347750149d047a10caa.tar.bz2 embeddings-sort-b9c831bc5f0de64f2c334347750149d047a10caa.tar.zst |
fix bug that randomly caused images to be ommitted from the output for the last ~14 months (oops)
-rw-r--r-- | src/tsp_approx.rs | 3 |
1 files changed, 0 insertions, 3 deletions
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 |