From 81ffb97f7d967aa69b69ddd9ba4c2201ffd4a835 Mon Sep 17 00:00:00 2001 From: Nina Hammer Date: Tue, 26 Mar 2024 17:14:09 +0100 Subject: [PATCH] fix formating --- src/algorithms/graph_coarsening.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/algorithms/graph_coarsening.rs b/src/algorithms/graph_coarsening.rs index 56149e8..04f4890 100644 --- a/src/algorithms/graph_coarsening.rs +++ b/src/algorithms/graph_coarsening.rs @@ -334,11 +334,10 @@ impl<'b> CloudPartition<'b> { self.start.set(node, true); let mut subgraph = Vec::new(); - StandardBFS::new_with_depth(&self.g_1, node, &mut bfs_visited, log) - .for_each(|n| { - visited.set(n, true); - subgraph.push(n); - }); + StandardBFS::new_with_depth(&self.g_1, node, &mut bfs_visited, log).for_each(|n| { + visited.set(n, true); + subgraph.push(n); + }); if subgraph.len() >= log { subgraph.iter().for_each(|n| {