From 1843f7dbee99fad072f33b172f6cd139dda9962d Mon Sep 17 00:00:00 2001
From: cmoineau <cyril.moineau@cea.fr>
Date: Thu, 25 Jan 2024 16:05:56 +0000
Subject: [PATCH] Fix typo.

---
 python_binding/operator/pybind_GenericOperator.cpp | 2 +-
 python_binding/operator/pybind_Producer.cpp        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/python_binding/operator/pybind_GenericOperator.cpp b/python_binding/operator/pybind_GenericOperator.cpp
index a077ac3d2..2b146c768 100644
--- a/python_binding/operator/pybind_GenericOperator.cpp
+++ b/python_binding/operator/pybind_GenericOperator.cpp
@@ -52,6 +52,6 @@ void init_GenericOperator(py::module& m) {
             }
             return genericNode;
         }
-    , py::arg("type"), py::arg("nb_data"), py::arg("nb_param"), py::arg("nb_out"), py::arg("name") = "", py::kw_only());
+    , py::arg("type"), py::arg("nb_data"), py::arg("nb_param"), py::arg("nb_out"), py::arg("name") = "");
 }
 }  // namespace Aidge
diff --git a/python_binding/operator/pybind_Producer.cpp b/python_binding/operator/pybind_Producer.cpp
index 7c307ce88..3caa438d1 100644
--- a/python_binding/operator/pybind_Producer.cpp
+++ b/python_binding/operator/pybind_Producer.cpp
@@ -37,7 +37,7 @@ void init_Producer(py::module &m) {
     .def("dims", &Producer_Op::dims)
     .def("get_inputs_name", &Producer_Op::getInputsName)
     .def("get_outputs_name", &Producer_Op::getOutputsName)
-    .def("attributes_name", &Producer_Op<DIM>::staticGetAttrsName);
+    .def("attributes_name", &Producer_Op::staticGetAttrsName);
     m.def("Producer", static_cast<std::shared_ptr<Node>(*)(const std::shared_ptr<Tensor>, const std::string&, bool)>(&Producer), py::arg("tensor"), py::arg("name") = "", py::arg("constant") = false);
 
     declare_Producer<1>(m);
-- 
GitLab