From 08ddbbd7fc79cbc11e6b4b1f1f57b49fa31e74ef Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Wed, 26 Jun 2024 23:22:25 +0200 Subject: [PATCH] Update assert --- 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 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);