diff options
Diffstat (limited to 'src/graph/Graph.cpp')
-rw-r--r-- | src/graph/Graph.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/graph/Graph.cpp b/src/graph/Graph.cpp index ad6f200d36..af75eacc02 100644 --- a/src/graph/Graph.cpp +++ b/src/graph/Graph.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2019 Arm Limited. + * Copyright (c) 2018-2020 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -51,9 +51,9 @@ bool Graph::remove_node(NodeID nid) // Remove output connections std::set<EdgeID> output_edges_copy = node->output_edges(); - for(auto &outpud_eid : output_edges_copy) + for(auto &output_eid : output_edges_copy) { - remove_connection(outpud_eid); + remove_connection(output_eid); } // Remove nid from tagged nodes |