diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/src/network.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/src/network.cpp b/lib/src/network.cpp index 8944c15..58dde78 100644 --- a/lib/src/network.cpp +++ b/lib/src/network.cpp @@ -214,8 +214,8 @@ void network::get_tie_flaps_helper(std::set<unsigned>& added_edges, unsigned v0, const std::array<unsigned, 2>& e = G.edges[ei].v; unsigned vn = e[0] == vCur ? e[1] : e[0]; + added_edges.insert(ei); if (vn != v0) { - added_edges.insert(ei); this->get_tie_flaps_helper(added_edges, v0, vn); } } |