Compare commits

...

2 Commits

Author SHA1 Message Date
Patrick Niklaus d5ae9c9c8c Add changelog entry for 5.0.2 2016-04-28 12:04:41 +02:00
Patrick Niklaus 764bafaf95 Fixes #2335, map matching was using shortest path with uturns disabled 2016-04-28 12:03:28 +02:00
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -1,3 +1,7 @@
# 5.0.2
- Fixes:
- Issue #2335, map matching was using shortest path with uturns disabled
# 5.0.1
- Fixes:
- Issue #2309: Fixes local path looping, same coordinates crash
+1 -1
View File
@@ -185,7 +185,7 @@ Status MatchPlugin::HandleRequest(const api::MatchParameters &parameters,
}
// force uturns to be on, since we split the phantom nodes anyway and only have bi-directional
// phantom nodes for possible uturns
shortest_path(sub_routes[index].segment_end_coordinates, {true}, sub_routes[index]);
shortest_path(sub_routes[index].segment_end_coordinates, {false}, sub_routes[index]);
BOOST_ASSERT(sub_routes[index].shortest_path_length != INVALID_EDGE_WEIGHT);
}