summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/prime.c
diff options
context:
space:
mode:
authortylov <[email protected]>2023-07-18 02:50:44 +0200
committertylov <[email protected]>2023-07-18 02:50:44 +0200
commit177418232a2d8a8b0df1667d3e4bd15dc37db59f (patch)
treee2fb1e857295b5ca4fb691c7de1a188ac14a81d9 /misc/examples/prime.c
parentda70303c149b37dbf442e41038a00836132562ee (diff)
downloadSTC-modified-177418232a2d8a8b0df1667d3e4bd15dc37db59f.tar.gz
STC-modified-177418232a2d8a8b0df1667d3e4bd15dc37db59f.zip
Final merge fixes.
Diffstat (limited to 'misc/examples/prime.c')
-rw-r--r--misc/examples/prime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/prime.c b/misc/examples/prime.c
index c3db707d..e7b3d993 100644
--- a/misc/examples/prime.c
+++ b/misc/examples/prime.c
@@ -32,7 +32,7 @@ int main(void)
llong n = 100000000;
printf("Computing prime numbers up to %lld\n", n);
- clock_t t = clock();
+ clock_t t1 = clock();
cbits primes = sieveOfEratosthenes(n + 1);
llong np = cbits_count(&primes);