From 30703314dd188a4383b56a1c3613ad9cc2ad019e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20A=2E=20Ortega?= Date: Sat, 10 Dec 2016 01:15:52 +0100 Subject: [PATCH] Forgot it for the main loop as well. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 79404e7..df26541 100644 --- a/src/main.c +++ b/src/main.c @@ -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);