From 3e041bf94f869a1a4477af9b2da7533f64a8f28c Mon Sep 17 00:00:00 2001
From: Olivier BICHLER <olivier.bichler@cea.fr>
Date: Mon, 25 Sep 2023 17:47:46 +0200
Subject: [PATCH] Fixed Pad op

---
 include/aidge/operator/Pad.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/aidge/operator/Pad.hpp b/include/aidge/operator/Pad.hpp
index 79b0189ee..4431c7462 100644
--- a/include/aidge/operator/Pad.hpp
+++ b/include/aidge/operator/Pad.hpp
@@ -215,7 +215,7 @@ template <DimSize_t DIM>
 inline std::shared_ptr<Node> Pad(
     std::array<DimSize_t, 2> const (&beginEndTuples)[DIM],
     const std::string& name = "",
-    const std::array<DimSize_t, DIM> &type = PadParamType::Constant,
+    const PadParamType &type = PadParamType::Constant,
     double value = 0.0)
 {
     static_assert(DIM<=MaxDim,"Too many kernel dimensions required by Pad, not supported");
-- 
GitLab