[routing] Comment some problem assert. TODO: review in future.

This commit is contained in:
vng 2015-03-12 18:44:34 +03:00 committed by Alex Zolotarev
parent c45db7850b
commit f33370ca6d

View file

@ -1007,11 +1007,15 @@ OsrmRouter::ResultCode OsrmRouter::CalculateRouteImpl(m2::PointD const & startPt
const EdgeWeight outWeight = currentContext.getAdjacencyCost(iit, oit);
if (outWeight != INVALID_CONTEXT_EDGE_WEIGHT)
{
ASSERT(outWeight > 0, ());
/// @todo Investigate this assert in route from Moscow to Madrid.
/// France-Aquitaine hase zero weight.
//ASSERT(outWeight > 0, ());
if (getPathWeight(topTask)+outWeight >= finalWeight)
continue;
if (m_requestCancel)
return Cancelled;
string const & nextMwm = currentContext.getOutgoingMwmName(oit->m_outgoingIndex);
RoutingMappingPtrT nextMapping;