Forgot it for the main loop as well.
This commit is contained in:
parent
4905391c82
commit
30703314dd
@ -53,7 +53,7 @@ int main(void) {
|
|||||||
nextPrime:
|
nextPrime:
|
||||||
// Add 2 (skip even numbers since they're all divisible by 2)
|
// Add 2 (skip even numbers since they're all divisible by 2)
|
||||||
mpz_add_ui(num, num, 2);
|
mpz_add_ui(num, num, 2);
|
||||||
} while(run);
|
} while(likely(run));
|
||||||
|
|
||||||
// Deinitialize the list
|
// Deinitialize the list
|
||||||
deInitList(&primes);
|
deInitList(&primes);
|
||||||
|
Loading…
Reference in New Issue
Block a user