From 42bad9749373326226b05c532f513d821fd1f345 Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Sat, 11 May 2024 13:31:51 +0200 Subject: [PATCH] Update routing_base_mld.hpp Co-authored-by: Michael Bell --- include/engine/routing_algorithms/routing_base_mld.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/engine/routing_algorithms/routing_base_mld.hpp b/include/engine/routing_algorithms/routing_base_mld.hpp index 9cb16b02a..97f8e399b 100644 --- a/include/engine/routing_algorithms/routing_base_mld.hpp +++ b/include/engine/routing_algorithms/routing_base_mld.hpp @@ -681,7 +681,7 @@ double getNetworkDistance(SearchEngineData &engine_working_data, distance += target_phantom.GetReverseDistance(); } - return static_cast(static_cast(distance)); + return from_alias(distance); } } // namespace osrm::engine::routing_algorithms::mld