From 98fe5a7a2d1a617fd4d294a40c07f9894ac82a3e Mon Sep 17 00:00:00 2001 From: CarlosZoft <62192072+CarlosZoft@users.noreply.github.com> Date: Tue, 15 Feb 2022 14:47:07 -0300 Subject: [PATCH] fix : according lint rules --- math/modular_inverse_simple.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/math/modular_inverse_simple.cpp b/math/modular_inverse_simple.cpp index b0df7d02b..9f5aab005 100644 --- a/math/modular_inverse_simple.cpp +++ b/math/modular_inverse_simple.cpp @@ -27,7 +27,8 @@ using namespace std; * @returns the modular inverse */ int imod(int x, int y) { - int aux, itr = 0; + int aux; + int itr = 0; do { // run the algorithm while not find the inverse aux = y * itr + 1;