From afec06f336e1c8966cfe513aa648db638916be62 Mon Sep 17 00:00:00 2001 From: Yuriy Chernyshov Date: Wed, 29 Dec 2021 14:41:24 +0300 Subject: [PATCH] Do not depend on ADL --- src/contractor/graph_contractor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contractor/graph_contractor.cpp b/src/contractor/graph_contractor.cpp index 8315a57c5..cffc8c834 100644 --- a/src/contractor/graph_contractor.cpp +++ b/src/contractor/graph_contractor.cpp @@ -672,7 +672,7 @@ std::vector contractGraph(ContractorGraph &graph, // sort all remaining nodes to the beginning of the sequence const auto begin_independent_nodes = - stable_partition(remaining_nodes.begin(), + std::stable_partition(remaining_nodes.begin(), remaining_nodes.end(), [](RemainingNodeData node_data) { return !node_data.is_independent; }); auto begin_independent_nodes_idx =