We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cacb162 commit 318df9dCopy full SHA for 318df9d
src/extractor/edge_based_graph_factory.cpp
@@ -403,7 +403,7 @@ EdgeBasedGraphFactory::GenerateEdgeExpandedNodes(const WayRestrictionMap &way_re
403
segregated_edges.count(eid) > 0;
404
405
const auto ebn_weight = m_edge_based_node_weights[nbe_to_ebn_mapping[eid]];
406
- BOOST_ASSERT(ebn_weight == INVALID_EDGE_WEIGHT || ebn_weight == edge_data.weight);
+ BOOST_ASSERT((ebn_weight & 0x7fffffff) == edge_data.weight);
407
m_edge_based_node_weights.push_back(ebn_weight);
408
m_edge_based_node_durations.push_back(
409
m_edge_based_node_durations[nbe_to_ebn_mapping[eid]]);
0 commit comments