fix test regression
This commit is contained in:
parent
b5b4280c3b
commit
65ad3bb941
@ -399,7 +399,7 @@ void EdgeBasedGraphFactory::Run(
|
||||
if( m_traffic_lights.find(v) != m_traffic_lights.end() ) {
|
||||
distance += speed_profile.trafficSignalPenalty;
|
||||
}
|
||||
const int turn_penalty = 10*GetTurnPenalty(u, v, w, lua_state);
|
||||
const int turn_penalty = GetTurnPenalty(u, v, w, lua_state);
|
||||
TurnInstruction turnInstruction = AnalyzeTurn(u, v, w);
|
||||
if(turnInstruction == TurnInstructions.UTurn){
|
||||
distance += speed_profile.uTurnPenalty;
|
||||
|
Loading…
Reference in New Issue
Block a user