Skip to content

Commit

Permalink
get the right tile
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsnolde committed Mar 23, 2024
1 parent baae6ff commit ab1ced6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mjolnir/shortcutbuilder.cc
Expand Up @@ -550,7 +550,7 @@ std::pair<uint32_t, uint32_t> AddShortcutEdges(GraphReader& reader,
shortcut++;
if (!end_nodes.insert(newedge.endnode()).second) {
[[maybe_unused]] PointLL start_ll = tile->get_node_ll(start_node);
[[maybe_unused]] PointLL end_ll = tile->get_node_ll(end_node);
[[maybe_unused]] PointLL end_ll = reader.GetGraphTile(end_node)->get_node_ll(end_node);
LOG_WARN("Node " + std::to_string(start_node) +
" has outbound shortcuts with same start/end nodes starting at node at LL = " +
std::to_string(start_ll.lat()) + "," + std::to_string(start_ll.lng()) +
Expand Down

0 comments on commit ab1ced6

Please sign in to comment.