fixes a broken assertion
This commit is contained in:
		
							parent
							
								
									94c465aeb9
								
							
						
					
					
						commit
						dacd3b4833
					
				| @ -20,7 +20,7 @@ StepManeuver stepManeuverFromGeometry(extractor::guidance::TurnInstruction instr | |||||||
| { | { | ||||||
|     auto turn_index = leg_geometry.BackIndex(segment_index); |     auto turn_index = leg_geometry.BackIndex(segment_index); | ||||||
|     BOOST_ASSERT(turn_index > 0); |     BOOST_ASSERT(turn_index > 0); | ||||||
|     BOOST_ASSERT(turn_index < leg_geometry.locations.size() - 1); |     BOOST_ASSERT(turn_index < leg_geometry.locations.size()); | ||||||
| 
 | 
 | ||||||
|     // TODO chose a bigger look-a-head to smooth complex geometry
 |     // TODO chose a bigger look-a-head to smooth complex geometry
 | ||||||
|     const auto pre_turn_coordinate = leg_geometry.locations[turn_index - 1]; |     const auto pre_turn_coordinate = leg_geometry.locations[turn_index - 1]; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user