Merge pull request #1500 from Project-OSRM/fix/scc-only-barrier
Enable barrier check for TarjanSCC
This commit is contained in:
commit
d57f07d57e
@ -150,7 +150,7 @@ template <typename GraphT> class TarjanSCC
|
|||||||
// Traverse outgoing edges
|
// Traverse outgoing edges
|
||||||
if (barrier_node_set.find(v) != barrier_node_set.end() && u != vprime)
|
if (barrier_node_set.find(v) != barrier_node_set.end() && u != vprime)
|
||||||
{
|
{
|
||||||
// continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (to_node_of_only_restriction != std::numeric_limits<unsigned>::max() &&
|
if (to_node_of_only_restriction != std::numeric_limits<unsigned>::max() &&
|
||||||
|
Loading…
Reference in New Issue
Block a user