diff --git a/src/graph/GraphView.cpp b/src/graph/GraphView.cpp index 7b21cc8893c811c4dba253fd10042706eff80395..499cdcf2c0031ac6ccdcd9c1532b32c93ad87b56 100644 --- a/src/graph/GraphView.cpp +++ b/src/graph/GraphView.cpp @@ -895,8 +895,8 @@ void Aidge::GraphView::updateInputsOutputsNew(std::shared_ptr<Node> newNode) { for (const std::shared_ptr<Node>& parent : newNode->getParents()) { // Check that newNode parent is in current GraphView if (mNodes.find(parent) != mNodes.end()) { + IOIndex_t outputIdx = 0; for (auto orderedChilds : parent->getOrderedChildren()) { - IOIndex_t outputIdx = 0; for (auto ch_ptr : orderedChilds) { // If newNode is connected to it if (ch_ptr == newNode) {