From 65bf3e5a68e00ebbf35ff289eb8d47c91c801a4b Mon Sep 17 00:00:00 2001 From: Tommaso Fontana Date: Mon, 13 Jan 2025 15:54:13 +0100 Subject: [PATCH] fmt and clippy --- src/algo/llp/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/algo/llp/mod.rs b/src/algo/llp/mod.rs index 659a6da9..0afb5efa 100644 --- a/src/algo/llp/mod.rs +++ b/src/algo/llp/mod.rs @@ -370,6 +370,7 @@ pub fn layered_label_propagation( .context("Could not load labels")?; combine(&mut result_labels, *labels, &mut temp_perm).context("Could not combine labels")?; drop(labels); // explicit drop so we free labels before loading best_labels + // This recombination with the best labels does not appear in the paper, but // it is not harmful and fixes a few corner cases in which experimentally // LLP does not perform well. It was introduced by Marco Rosa in the Java