diff --git a/include/aidge/backend/cpu/operator/GlobalAveragePoolingImpl_forward_kernels.hpp b/include/aidge/backend/cpu/operator/GlobalAveragePoolingImpl_forward_kernels.hpp
index cab1dc24155e89a23bca3043231fd815badb05d1..f50d558c4de2bfa80eaa3a767653bea7ddd0d045 100644
--- a/include/aidge/backend/cpu/operator/GlobalAveragePoolingImpl_forward_kernels.hpp
+++ b/include/aidge/backend/cpu/operator/GlobalAveragePoolingImpl_forward_kernels.hpp
@@ -51,9 +51,7 @@ void GlobalAveragePoolingImpl_cpu_forward_kernel(
   for (DimSize_t batch = 0; batch < dims[0]; ++batch) {
     for (DimSize_t channel = 0; channel < dims[1]; ++channel) {
       const I *filter_start = std::next(
-          input, batch * in_batch_nb_elems + (channel * in_channel_nb_elems));
-      // I sum = std::accumulate(&filter_start[0],
-      //                         &filter_start[in_batch_nb_elems + 1], 0.f);
+          input, (batch * in_batch_nb_elems) + (channel * in_channel_nb_elems));
       I sum = 0;
       for (size_t i = 0; i < in_channel_nb_elems; ++i) {
         sum += filter_start[i];