diff --git a/include/aidge/operator/Scaling.hpp b/include/aidge/operator/Scaling.hpp index 81d4f26594ef0ec743953b2a1338a05fad0626e8..0d825a930eaf27ae682a28cbcdb114a17a2a639b 100644 --- a/include/aidge/operator/Scaling.hpp +++ b/include/aidge/operator/Scaling.hpp @@ -113,7 +113,7 @@ public: inline IOIndex_t nbOutputs() const noexcept override final { return 1; } }; -inline std::shared_ptr<Node> Scaling(float scalingFactor = 1.0f, const char* name = nullptr) { +inline std::shared_ptr<Node> Scaling(float scalingFactor = 1.0f, const std::string& name = "") { // FIXME: properly handle default w&b initialization in every cases return std::make_shared<Node>(std::make_shared<Scaling_Op>(scalingFactor), name); }