Merge pull request #1500 from Project-OSRM/fix/scc-only-barrier

Enable barrier check for TarjanSCC
This commit is contained in:
Patrick Niklaus
2015-05-28 15:17:36 +02:00
+1 -1
View File
@@ -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() &&