diff --git a/src/engine/routing_algorithms/many_to_many.cpp b/src/engine/routing_algorithms/many_to_many.cpp index 761de0f0b..c69a0cb04 100644 --- a/src/engine/routing_algorithms/many_to_many.cpp +++ b/src/engine/routing_algorithms/many_to_many.cpp @@ -140,11 +140,6 @@ void relaxOutgoingEdges(const DataFacade &facade, BOOST_ASSERT(!shortcut_durations.empty()); const NodeID to = *destination; - if (facade.ExcludeNode(to)) - { - continue; - } - if (shortcut_weight != INVALID_EDGE_WEIGHT && node != to) { const auto to_weight = weight + shortcut_weight; @@ -174,11 +169,6 @@ void relaxOutgoingEdges(const DataFacade &facade, BOOST_ASSERT(!shortcut_durations.empty()); const NodeID to = *source; - if (facade.ExcludeNode(to)) - { - continue; - } - if (shortcut_weight != INVALID_EDGE_WEIGHT && node != to) { const auto to_weight = weight + shortcut_weight;