From 2116cc68ca56a16e44e57b852152fff0d2112612 Mon Sep 17 00:00:00 2001 From: Michael Krasnyk Date: Wed, 29 Nov 2017 12:28:11 +0100 Subject: [PATCH] Don't use removed alternative paths in filterPackedPathsByCellSharing --- CHANGELOG.md | 5 +++++ src/engine/routing_algorithms/alternative_path_mld.cpp | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6673a5e2..31ab36f2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# 5.14.1 + - Changes from 5.14.0 + - Bugfixes: + - FIXED: don't use removed alternative candidates in `filterPackedPathsByCellSharing` + # 5.14.0 - Changes from 5.13 - API: diff --git a/src/engine/routing_algorithms/alternative_path_mld.cpp b/src/engine/routing_algorithms/alternative_path_mld.cpp index 0e94ef560..1197c9f23 100644 --- a/src/engine/routing_algorithms/alternative_path_mld.cpp +++ b/src/engine/routing_algorithms/alternative_path_mld.cpp @@ -784,9 +784,8 @@ InternalManyRoutesResult alternativePathSearch(SearchEngineData &sear begin(weighted_packed_paths) + 1, alternative_paths_last); - alternative_paths_last = filterPackedPathsByCellSharing(begin(weighted_packed_paths), // - end(weighted_packed_paths), // - partition); // + alternative_paths_last = filterPackedPathsByCellSharing( + begin(weighted_packed_paths), alternative_paths_last, partition); BOOST_ASSERT(weighted_packed_paths.size() >= 1);