From 2e9f0013edba0006578383f937daf5c2a45172a6 Mon Sep 17 00:00:00 2001
From: NAUD Maxence <maxence.naud@cea.fr>
Date: Tue, 7 Nov 2023 14:45:21 +0000
Subject: [PATCH] [Fix] replace() binding

---
 python_binding/graph/pybind_GraphView.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python_binding/graph/pybind_GraphView.cpp b/python_binding/graph/pybind_GraphView.cpp
index 5ee8ec865..6ac2199b4 100644
--- a/python_binding/graph/pybind_GraphView.cpp
+++ b/python_binding/graph/pybind_GraphView.cpp
@@ -73,7 +73,7 @@ void init_GraphView(py::module& m) {
           :type includeLearnableParameter
           )mydelimiter")
 
-          .def_static("replace", &GraphView::replace, py::args("old_nodes"), py::arg("new_nodes"),
+          .def_static("replace", &GraphView::replace, py::arg("old_nodes"), py::arg("new_nodes"),
           R"mydelimiter(
           Replace the old set of Nodes with the new set of given Nodes if possible in every GraphView.
 
-- 
GitLab