diff --git a/src/graph/Node.cpp b/src/graph/Node.cpp index a2fb2808c4d392fdd4486f4240d46f5f525f7d72..8c98afaf7050d82107587b5a8ec1f8849c40f9e8 100644 --- a/src/graph/Node.cpp +++ b/src/graph/Node.cpp @@ -330,7 +330,7 @@ Aidge::NodePtr Aidge::Node::cloneSharedOperators() const { } Aidge::NodePtr Aidge::Node::cloneSharedProducers() const { - std::shared_ptr<Operator> op = (op->type() == Producer_Op::Type) + std::shared_ptr<Operator> op = (mOperator->type() == Producer_Op::Type) ? mOperator : std::shared_ptr<Operator>(mOperator->clone());