diff --git a/include/engine/routing_algorithms/routing_base_mld.hpp b/include/engine/routing_algorithms/routing_base_mld.hpp index a598546e3..a8cbc712a 100644 --- a/include/engine/routing_algorithms/routing_base_mld.hpp +++ b/include/engine/routing_algorithms/routing_base_mld.hpp @@ -300,9 +300,8 @@ void relaxOutgoingEdges(const DataFacade &facade, const auto level = getNodeQueryLevel(partition, heapNode.node, args...); - static constexpr auto IS_MAP_MATCHING = std::is_same_v::MapMatchingQueryHeap, - Heap>; + static constexpr auto IS_MAP_MATCHING = + std::is_same_v::MapMatchingQueryHeap, Heap>; // SearchEngineData::MapMatchingQueryHeap if (level >= 1 && !heapNode.data.from_clique_arc) @@ -348,7 +347,8 @@ void relaxOutgoingEdges(const DataFacade &facade, } } ++destination; - if (IS_MAP_MATCHING) { + if (IS_MAP_MATCHING) + { ++distance; } } @@ -393,7 +393,8 @@ void relaxOutgoingEdges(const DataFacade &facade, } } ++source; - if (IS_MAP_MATCHING) { + if (IS_MAP_MATCHING) + { ++distance; } }