From 65ad3bb94182b90cdecf5ea58868dddf648a3c15 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Mon, 27 Jan 2014 12:55:17 +0100 Subject: [PATCH] fix test regression --- Contractor/EdgeBasedGraphFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contractor/EdgeBasedGraphFactory.cpp b/Contractor/EdgeBasedGraphFactory.cpp index aa7cfadf5..986f1702e 100644 --- a/Contractor/EdgeBasedGraphFactory.cpp +++ b/Contractor/EdgeBasedGraphFactory.cpp @@ -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;