fix SCC computation in debug mode by clearing a vector
This commit is contained in:
parent
637bab29c6
commit
c836b6df3b
@ -190,6 +190,7 @@ class TarjanSCC
|
|||||||
edge_list.push_back(edge);
|
edge_list.push_back(edge);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
input_edges.clear();
|
||||||
input_edges.shrink_to_fit();
|
input_edges.shrink_to_fit();
|
||||||
BOOST_ASSERT_MSG(0 == input_edges.size() && 0 == input_edges.capacity(),
|
BOOST_ASSERT_MSG(0 == input_edges.size() && 0 == input_edges.capacity(),
|
||||||
"input edge vector not properly deallocated");
|
"input edge vector not properly deallocated");
|
||||||
|
Loading…
Reference in New Issue
Block a user