cplusplus.Move

This commit is contained in:
gtsoul-tech 2024-05-28 14:15:03 +03:00
parent c837925087
commit d23e4a12e7

View File

@ -185,7 +185,7 @@ void findPaths(const NGHolder &g, CorpusProperties &cProps,
continue; continue;
} }
if (!contains(one_way_in, v) && if (p && !contains(one_way_in, v) &&
has_greater_than(p->begin(), p->end(), v, cycleLimit)) { has_greater_than(p->begin(), p->end(), v, cycleLimit)) {
// Note that vertices that only have one predecessor don't need // Note that vertices that only have one predecessor don't need
// their cycle limit checked, as their predecessors will have // their cycle limit checked, as their predecessors will have