Apply clang-format

This commit is contained in:
Yuriy Chernyshov 2022-01-10 11:28:55 +03:00
parent afec06f336
commit 6240d46890

View File

@ -671,10 +671,10 @@ std::vector<bool> contractGraph(ContractorGraph &graph,
}); });
// sort all remaining nodes to the beginning of the sequence // sort all remaining nodes to the beginning of the sequence
const auto begin_independent_nodes = const auto begin_independent_nodes = std::stable_partition(
std::stable_partition(remaining_nodes.begin(), remaining_nodes.begin(), remaining_nodes.end(), [](RemainingNodeData node_data) {
remaining_nodes.end(), return !node_data.is_independent;
[](RemainingNodeData node_data) { return !node_data.is_independent; }); });
auto begin_independent_nodes_idx = auto begin_independent_nodes_idx =
std::distance(remaining_nodes.begin(), begin_independent_nodes); std::distance(remaining_nodes.begin(), begin_independent_nodes);
auto end_independent_nodes_idx = remaining_nodes.size(); auto end_independent_nodes_idx = remaining_nodes.size();