From eebe88bda3d5176285141ad266bc950f9de31b92 Mon Sep 17 00:00:00 2001
From: ls232920 <laurent.soulier@cea.fr>
Date: Wed, 18 Oct 2023 17:03:34 +0000
Subject: [PATCH] [FUN][IMPR][MAJ] "view" constructor also fixes aidge_core#32

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

diff --git a/src/data/Tensor.cpp b/src/data/Tensor.cpp
index cd8098c1e..8b7f3d54b 100644
--- a/src/data/Tensor.cpp
+++ b/src/data/Tensor.cpp
@@ -237,7 +237,7 @@ Tensor::Tensor(
         && "Requested active area is not available inside source Tensor");
     computeSize();
     // now sharing data
-    // mimpl = otherTensor.getImpl();
+    mImpl = otherTensor.mImpl;
 }
 
 void Tensor::resize(const std::vector<DimSize_t> &dims)
-- 
GitLab