From 999f50dce923eb016c401915c1a7563066d97109 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Tue, 24 Sep 2013 16:45:34 +0200 Subject: [PATCH] inverting assertion --- RoutingAlgorithms/ShortestPathRouting.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RoutingAlgorithms/ShortestPathRouting.h b/RoutingAlgorithms/ShortestPathRouting.h index 0936ce140..0fca7ee65 100644 --- a/RoutingAlgorithms/ShortestPathRouting.h +++ b/RoutingAlgorithms/ShortestPathRouting.h @@ -264,9 +264,9 @@ public: } BOOST_ASSERT_MSG( - temporary_packed_path1.empty() && - temporary_packed_path2.empty(), - "tempory packed paths not empty" + !temporary_packed_path1.empty() || + !temporary_packed_path2.empty(), + "tempory packed paths empty" ); //Plug paths together, s.t. end of packed path is begin of temporary packed path