Skip to content
Snippets Groups Projects
Commit ff7f1a85 authored by Cyril Moineau's avatar Cyril Moineau
Browse files

Add back name param

parent 517320ee
No related branches found
No related tags found
2 merge requests!105version 0.2.0,!73Quality of life
Pipeline #38495 failed
...@@ -33,11 +33,12 @@ void init_GenericOperator(py::module& m) { ...@@ -33,11 +33,12 @@ void init_GenericOperator(py::module& m) {
IOIndex_t nbData, IOIndex_t nbData,
IOIndex_t nbParam, IOIndex_t nbParam,
IOIndex_t nbOut, IOIndex_t nbOut,
const std::string& name = "",
const py::kwargs kwargs){ const py::kwargs kwargs){
std::string name = ""; // std::string name = "";
if (kwargs.contains("name")) { // if (kwargs.contains("name")) {
name = kwargs["name"].cast<std::string>(); // name = kwargs["name"].cast<std::string>();
} // }
std::shared_ptr<Node> genericNode = GenericOperator( std::shared_ptr<Node> genericNode = GenericOperator(
type, type,
nbData, nbData,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment