Skip to content

Commit

Permalink
fix formating
Browse files Browse the repository at this point in the history
  • Loading branch information
ninaham committed Mar 26, 2024
1 parent d6d98e1 commit 81ffb97
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/algorithms/graph_coarsening.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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| {
Expand Down

0 comments on commit 81ffb97

Please sign in to comment.