Skip to content

Commit 90b3be8

Browse files
TheMarexPatrick Niklaus
authored andcommitted
Fix formating
1 parent ba2a2ff commit 90b3be8

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

include/contractor/contracted_edge_container.hpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,10 @@ struct ContractedEdgeContainer
114114
// enforce sorting for next merge step
115115
std::vector<unsigned> ordering(edges_size);
116116
std::iota(ordering.begin(), ordering.end(), 0);
117-
tbb::parallel_sort(ordering.begin(), ordering.end(), [&](const auto lhs_idx, const auto rhs_idx) {
118-
return mergeCompare(edges[lhs_idx], edges[rhs_idx]);
119-
});
117+
tbb::parallel_sort(
118+
ordering.begin(), ordering.end(), [&](const auto lhs_idx, const auto rhs_idx) {
119+
return mergeCompare(edges[lhs_idx], edges[rhs_idx]);
120+
});
120121
auto permutation = util::orderingToPermutation(ordering);
121122

122123
util::inplacePermutation(edges.begin(), edges.end(), permutation);

include/util/permutation.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ std::vector<IndexT> orderingToPermutation(const std::vector<IndexT> &ordering)
5656

5757
return permutation;
5858
}
59-
60-
6159
}
6260
}
6361

0 commit comments

Comments
 (0)