Don't use removed alternative paths in filterPackedPathsByCellSharing
This commit is contained in:
		
							parent
							
								
									c1efefae27
								
							
						
					
					
						commit
						6fd0b56e32
					
				@ -1,5 +1,10 @@
 | 
			
		||||
# UNRELEASED
 | 
			
		||||
 | 
			
		||||
# 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:
 | 
			
		||||
 | 
			
		||||
@ -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);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user