Don't use removed alternative paths in filterPackedPathsByCellSharing

This commit is contained in:
Michael Krasnyk
2017-11-29 12:28:11 +01:00
parent c1efefae27
commit 6fd0b56e32
2 changed files with 7 additions and 3 deletions
@@ -784,9 +784,8 @@ InternalManyRoutesResult alternativePathSearch(SearchEngineData<Algorithm> &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);