Skip to content

Commit

Permalink
fmt and clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
zommiommy committed Jan 13, 2025
1 parent c9314f6 commit 65bf3e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/algo/llp/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ pub fn layered_label_propagation<R: RandomAccessGraph + Sync>(
.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
Expand Down

0 comments on commit 65bf3e5

Please sign in to comment.