Fix broken assertion after rebase

This commit is contained in:
Patrick Niklaus 2017-12-18 15:45:04 +00:00
parent 9d2e57ac7b
commit 98566bc7e6

View File

@ -601,7 +601,7 @@ operator()(const NodeID /*nid*/, const EdgeID source_edge_id, Intersection inter
} }
else if (!name_table.GetNameForID(main_annotation.name_id).empty()) else if (!name_table.GetNameForID(main_annotation.name_id).empty())
{ {
OSRM_ASSERT(false, coordinates[intersection_node_id]); OSRM_ASSERT(false, node_coordinates[intersection_node_id]);
intersection[*obvious].instruction.type = TurnType::NewName; intersection[*obvious].instruction.type = TurnType::NewName;
intersection[*obvious].instruction.direction_modifier = intersection[*obvious].instruction.direction_modifier =
getTurnDirection(intersection[*obvious].angle); getTurnDirection(intersection[*obvious].angle);