From 3d6a310a29e9fe7a4b930f1a5b82f9c1156a4da7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gr=C3=A9goire=20KUBLER?= <gregoire.kubler@proton.me>
Date: Wed, 10 Jul 2024 15:51:32 +0200
Subject: [PATCH] fix : replaced unused var call

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

diff --git a/src/operator/Concat.cpp b/src/operator/Concat.cpp
index 607986e84..16306cd87 100644
--- a/src/operator/Concat.cpp
+++ b/src/operator/Concat.cpp
@@ -25,7 +25,7 @@ void Aidge::Concat_OpImpl::forward() {
     assert(op.getInput(0) && "missing input in Concat operator");
     for (IOIndex_t i = 1; i < mOp.nbInputs(); ++i) {
         assert(op.getInput(i) && "missing input in Concat operator");
-        assert(op.getInput(i)->dataType() == datatypeFirstInput);
+        assert(op.getInput(i)->dataType() == op.getInput(0)->dataType());
     }
 
     DimSize_t outputAxisValue = 0;
-- 
GitLab