Skip to content

Commit 2116cc6

Browse files
committed
Don't use removed alternative paths in filterPackedPathsByCellSharing
1 parent 531b281 commit 2116cc6

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 5.14.1
2+
- Changes from 5.14.0
3+
- Bugfixes:
4+
- FIXED: don't use removed alternative candidates in `filterPackedPathsByCellSharing`
5+
16
# 5.14.0
27
- Changes from 5.13
38
- API:

src/engine/routing_algorithms/alternative_path_mld.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -784,9 +784,8 @@ InternalManyRoutesResult alternativePathSearch(SearchEngineData<Algorithm> &sear
784784
begin(weighted_packed_paths) + 1,
785785
alternative_paths_last);
786786

787-
alternative_paths_last = filterPackedPathsByCellSharing(begin(weighted_packed_paths), //
788-
end(weighted_packed_paths), //
789-
partition); //
787+
alternative_paths_last = filterPackedPathsByCellSharing(
788+
begin(weighted_packed_paths), alternative_paths_last, partition);
790789

791790
BOOST_ASSERT(weighted_packed_paths.size() >= 1);
792791

0 commit comments

Comments
 (0)