From df7e51b1a6644cb88f2a02cfbb8b1a57daec7191 Mon Sep 17 00:00:00 2001
From: Maxence Naud <maxence.naud@cea.fr>
Date: Mon, 25 Sep 2023 12:12:24 +0000
Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s)

---
 include/aidge/hook/outputRange.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/aidge/hook/outputRange.hpp b/include/aidge/hook/outputRange.hpp
index 268918cf7..e80cd8398 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]);
-- 
GitLab