Commit 3fde5e74 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix bug all_paths() with parallel edges

parent f2c93fc6
Pipeline #123 passed with stage
......@@ -529,9 +529,7 @@ void get_all_paths(size_t s, size_t t, size_t cutoff, Yield& yield, Graph& g)
yield(wrap_vector_owned<size_t>(path));
stack.pop_back();
if (!stack.empty())
++stack.back().first;
++pos.first;
}
else
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment