Unverified Commit a3768ee4 authored by Scott Cyphers's avatar Scott Cyphers Committed by GitHub

Merge branch 'master' into dcaballe/argmin

parents ba63c9a5 150250b0
......@@ -74,9 +74,12 @@ void ngraph::traverse_nodes(const NodeVector& subgraph_results,
std::deque<std::shared_ptr<Node>> stack;
for (auto r : subgraph_results)
{
if (instances_seen.count(r) == 0)
{
stack.push_front(r);
}
}
while (stack.size() > 0)
{
......
Markdown is supported
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