From 68aaf9b75e9be2c01398abd7865d0672a9bd20fb Mon Sep 17 00:00:00 2001
From: Olivier BICHLER <olivier.bichler@cea.fr>
Date: Fri, 14 Mar 2025 14:11:30 +0100
Subject: [PATCH] Fixed Aidge::Memorize_Op::Memorize_Op()

---
 src/operator/Memorize.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/operator/Memorize.cpp b/src/operator/Memorize.cpp
index 4878ff291..05815f929 100644
--- a/src/operator/Memorize.cpp
+++ b/src/operator/Memorize.cpp
@@ -94,7 +94,7 @@ Aidge::Memorize_Op::Memorize_Op(const Aidge::Memorize_Op& op)
     if (!op.backend().empty()) {
         SET_IMPL_MACRO(Memorize_Op, *this, op.backend());
     } else {
-        mImpl = nullptr;
+        mImpl = std::make_shared<Memorize_OpImpl>(*this);
     }
     mOutputs[1] = mOutputs[0];
 }
-- 
GitLab