Skip to content

Commit

Permalink
Merge 0f42dbf into 77f8a4f
Browse files Browse the repository at this point in the history
  • Loading branch information
Karen Shea committed Jan 26, 2018
2 parents 77f8a4f + 0f42dbf commit 5211cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/plugins/match.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ Status MatchPlugin::HandleRequest(const RoutingAlgorithmsInterface &algorithms,
sub_routes[index] =
algorithms.ShortestPathSearch(sub_routes[index].segment_end_coordinates, {false});
BOOST_ASSERT(sub_routes[index].shortest_path_weight != INVALID_EDGE_WEIGHT);
if (!tidied.parameters.waypoints.empty())
if (!parameters.waypoints.empty())
{
std::vector<bool> waypoint_legs;
waypoint_legs.reserve(sub_matchings[index].indices.size());
Expand Down

0 comments on commit 5211cb5

Please sign in to comment.