mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-16 01:12:15 +03:00
Fix find_vertices_in_cycles(): don't check self-loop in SCC.
This commit is contained in:
committed by
Konstantinos Margaritis
parent
6b6c37fe9b
commit
99ffbbf425
@@ -170,6 +170,7 @@ find_vertices_in_cycles(const Graph &g) {
|
||||
assert(!comp.empty());
|
||||
if (comp.size() > 1) {
|
||||
insert(&rv, comp);
|
||||
continue;
|
||||
}
|
||||
vertex_descriptor v = *comp.begin();
|
||||
if (hasSelfLoop(v, g)) {
|
||||
|
||||
Reference in New Issue
Block a user