diff options
| author | tylov <[email protected]> | 2023-07-18 02:50:44 +0200 |
|---|---|---|
| committer | tylov <[email protected]> | 2023-07-18 02:50:44 +0200 |
| commit | 177418232a2d8a8b0df1667d3e4bd15dc37db59f (patch) | |
| tree | e2fb1e857295b5ca4fb691c7de1a188ac14a81d9 | |
| parent | da70303c149b37dbf442e41038a00836132562ee (diff) | |
| download | STC-modified-177418232a2d8a8b0df1667d3e4bd15dc37db59f.tar.gz STC-modified-177418232a2d8a8b0df1667d3e4bd15dc37db59f.zip | |
Final merge fixes.
| -rw-r--r-- | misc/examples/prime.c | 2 | ||||
| -rw-r--r-- | misc/examples/random.c | 2 |
2 files changed, 2 insertions, 2 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); diff --git a/misc/examples/random.c b/misc/examples/random.c index 63c5a306..a36b2389 100644 --- a/misc/examples/random.c +++ b/misc/examples/random.c @@ -4,7 +4,7 @@ int main(void) { - const size_t N = 10000000; + const int N = 10000000; const uint64_t seed = (uint64_t)time(NULL), range = 1000000; crand_t rng = crand_init(seed); |
