diff --git a/src/operator/Scaling.cpp b/src/operator/Scaling.cpp
index 6aee038d7985b812f748e6bdcf0d48b4cf20eba3..dc5e272210feb09fd5dac6ba4b16f9ba8dc93bf0 100644
--- a/src/operator/Scaling.cpp
+++ b/src/operator/Scaling.cpp
@@ -20,7 +20,7 @@
 
 const std::string Aidge::Scaling_Op::Type = "Scaling";
 
-void Aidge::Scaling_Op::setBackend(const std::string& name, DeviceIdx_t device) {
+void Aidge::Scaling_Op::setBackend(const std::string& name, Aidge::DeviceIdx_t device) {
     SET_IMPL_MACRO(Scaling_Op, *this, name);
     mOutputs[0]->setBackend(name, device);
 }
\ No newline at end of file