From c2a605a70d6fe8adeafe5fa646ba85b5f969c777 Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Mon, 23 Oct 2017 23:09:25 +0000 Subject: [PATCH] Contract the exclude-flag sub-graphs as well --- include/contractor/contract_excludable_graph.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/contractor/contract_excludable_graph.hpp b/include/contractor/contract_excludable_graph.hpp index 775b65faa..0db80987a 100644 --- a/include/contractor/contract_excludable_graph.hpp +++ b/include/contractor/contract_excludable_graph.hpp @@ -81,6 +81,8 @@ inline auto contractExcludableGraph(ContractorGraph contractor_graph_, auto filtered_core_graph = shared_core_graph.Filter([&filter](const NodeID node) { return filter[node]; }); + contractGraph(filtered_core_graph, is_shared_core, is_shared_core, node_weights); + edge_container.Merge(toEdges(std::move(filtered_core_graph))); }