diff --git a/include/engine/routing_algorithms/routing_base_mld.hpp b/include/engine/routing_algorithms/routing_base_mld.hpp index d6f87a43a..aedbcf75a 100644 --- a/include/engine/routing_algorithms/routing_base_mld.hpp +++ b/include/engine/routing_algorithms/routing_base_mld.hpp @@ -609,7 +609,7 @@ UnpackedPath search(SearchEngineData &engine_working_data, INVALID_EDGE_WEIGHT, sublevel, parent_cell_id); - BOOST_ASSERT(!subpath_edges.empty()); + BOOST_ASSERT(!unpacked_subpath.edges.empty()); BOOST_ASSERT(unpacked_subpath.nodes.size() > 1); BOOST_ASSERT(unpacked_subpath.nodes.front() == source); BOOST_ASSERT(unpacked_subpath.nodes.back() == target);