From b5dcadce195d879665ce68cd501b44b903c7cd00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20A=2E=20Ortega?= Date: Wed, 14 Dec 2016 17:31:36 +0100 Subject: [PATCH] Added new goal for v0.5 --- CHANGELOG | 1 + src/main.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index d23740e..790d762 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -22,3 +22,4 @@ Change Log - v0.5: Minor Changes - Use `size_t' instead of `unsigned long long int'. - Minor optimizations to the algorithm. + - Added commandline argument parsing. diff --git a/src/main.c b/src/main.c index 8affedb..96ccdf5 100644 --- a/src/main.c +++ b/src/main.c @@ -65,7 +65,7 @@ nextPrime: mpz_add_ui(num, num, 2); } while(run); - printf("Found %zu primes\n", primes.end); + printf("Found %zu primes.\n", primes.end); puts("Clearing memory..."); // Clear GMP variables mpz_clear(halfNum);