diff --git a/array/array_pari.cpp b/array/array_pari.cpp index 336c10b..8d6e5ce 100644 --- a/array/array_pari.cpp +++ b/array/array_pari.cpp @@ -21,7 +21,6 @@ void printIfPeersOnPeerPositions(int array[]) { if (isPeer(array[i])) { number_peers++; } - i++; } if (number_peers == array_size) cout << "All numbers you gave me are peers." << endl;