Do not depend on ADL
This commit is contained in:
parent
1e70b645e4
commit
afec06f336
@ -672,7 +672,7 @@ 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 =
|
||||||
stable_partition(remaining_nodes.begin(),
|
std::stable_partition(remaining_nodes.begin(),
|
||||||
remaining_nodes.end(),
|
remaining_nodes.end(),
|
||||||
[](RemainingNodeData node_data) { return !node_data.is_independent; });
|
[](RemainingNodeData node_data) { return !node_data.is_independent; });
|
||||||
auto begin_independent_nodes_idx =
|
auto begin_independent_nodes_idx =
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user