Fix assert

This commit is contained in:
nsubiron 2019-03-26 14:42:47 +01:00
parent de7d8a1848
commit 7d0fa8bf41
1 changed files with 1 additions and 2 deletions

View File

@ -401,8 +401,7 @@ namespace road {
DEBUG_ASSERT(
successor.road_id != waypoint.road_id ||
successor.section_id != waypoint.section_id ||
successor.lane_id != waypoint.lane_id ||
successor.s != waypoint.s);
successor.lane_id != waypoint.lane_id);
result = ConcatVectors(result, GetNext(successor, distance - remaining_lane_length));
}
return result;