Skip to content

Commit

Permalink
Merge pull request #1399 from Karry/fix-turn-restrictions
Browse files Browse the repository at this point in the history
fix routing via nodes with turn restrictions
  • Loading branch information
Framstag authored Mar 30, 2023
2 parents b8df6a4 + 005f9e5 commit fa67f8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ namespace osmscout {

for (const auto& exclude : currentRouteNode->excludes) {
if (exclude.source==current->object &&
currentRouteNode->objects[exclude.targetIndex].object==currentRouteNode->objects[path.objectIndex].object) {
currentRouteNode->objects[currentRouteNode->paths[exclude.targetIndex].objectIndex].object==currentRouteNode->objects[path.objectIndex].object) {
if constexpr (debugRouting) {
std::cout << " Skipping route";
std::cout << " to " << dbId << " / " << path.id;
Expand Down

0 comments on commit fa67f8f

Please sign in to comment.