fix regression that seg faults if path not found

This commit is contained in:
Dennis Luxen 2014-04-29 11:46:05 +02:00
parent d6962f3a09
commit b7704f0c7f

View File

@ -172,6 +172,11 @@ public:
}
}
if (INVALID_EDGE_WEIGHT == upper_bound_to_shortest_path_distance)
{
return;
}
sort_unique_resize( via_node_candidate_list );
std::vector<NodeID> packed_forward_path;