Forgot it for the main loop as well.

This commit is contained in:
Nicolás A. Ortega 2016-12-10 01:15:52 +01:00
parent 4905391c82
commit 30703314dd
No known key found for this signature in database
GPG Key ID: 614272579C2070D1

View File

@ -53,7 +53,7 @@ int main(void) {
nextPrime:
// Add 2 (skip even numbers since they're all divisible by 2)
mpz_add_ui(num, num, 2);
} while(run);
} while(likely(run));
// Deinitialize the list
deInitList(&primes);