diff --git a/include/aidge/hook/outputRange.hpp b/include/aidge/hook/outputRange.hpp
index 268918cf765f6d00d4b20f261fada86b83dade2a..e80cd8398ee7c3224b56255b211e1291f2b919ce 100644
--- a/include/aidge/hook/outputRange.hpp
+++ b/include/aidge/hook/outputRange.hpp
@@ -41,7 +41,7 @@ public:
         float max_value = 0.;
         float * casted_tensor = static_cast<float *>(tensor->getImpl()->rawPtr());
         //find the absolute max value in the tensor, save it to registered outputs
-        for(size_t i = 0; i<tensor->size(); i++) {
+        for(std::size_t i = 0; i < tensor->size(); ++i) {
             //std::cout << "call() outputRange hook : casted_tensor[i] = " << casted_tensor[i] << std::endl;
             if(abs(casted_tensor[i]) > max_value){
                 max_value = abs(casted_tensor[i]);