fix test regression

This commit is contained in:
Dennis Luxen 2014-01-27 12:55:17 +01:00
parent b5b4280c3b
commit 65ad3bb941

View File

@ -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;