aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph/algorithms/BFS.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/graph/algorithms/BFS.h')
-rw-r--r--arm_compute/graph/algorithms/BFS.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arm_compute/graph/algorithms/BFS.h b/arm_compute/graph/algorithms/BFS.h
index 36ca872f15..97292d733b 100644
--- a/arm_compute/graph/algorithms/BFS.h
+++ b/arm_compute/graph/algorithms/BFS.h
@@ -85,7 +85,7 @@ inline std::vector<NodeID> bfs(Graph &g)
std::list<NodeID> queue;
// Push inputs and mark as visited
- for(auto &input : g.inputs())
+ for(auto &input : g.nodes(NodeType::Input))
{
if(input != EmptyNodeID)
{