diff --git a/include/aidge/backend/cpu/operator/RoundImpl_kernels.hpp b/include/aidge/backend/cpu/operator/RoundImpl_kernels.hpp
index 50c83f4cf1270e6e2fa11cc9bca6b1476e1d5bf6..6abf457523a7715762531c96787efc5ee34baaca 100644
--- a/include/aidge/backend/cpu/operator/RoundImpl_kernels.hpp
+++ b/include/aidge/backend/cpu/operator/RoundImpl_kernels.hpp
@@ -41,7 +41,7 @@ void RoundImpl_cpu_forward_kernel(
             output[i] = static_cast<O>(std::round(inputValue));
         }
         else if (mode == Round_Op::HalfwayRounding::NextInteger) {
-            output[i] = static_cast<O>(std::round(std::nextafter(inputValue, inputValue + 1)));
+            output[i] = static_cast<O>(std::round(std::nextafter(inputValue, +INFINITY)));
         }
     }
 }