summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/prime.c
diff options
context:
space:
mode:
authorTyge Lovset <[email protected]>2023-04-08 11:02:39 +0200
committerTyge Lovset <[email protected]>2023-04-08 11:40:12 +0200
commitd92ffe3da29b3352c90b2d356e395914ba5b3f52 (patch)
tree7482f08aeb1a236eb50d5e4a796dbb180b8c0534 /misc/examples/prime.c
parent701b7af4aaf9fe3965c656c500d9200dd7c4831d (diff)
downloadSTC-modified-d92ffe3da29b3352c90b2d356e395914ba5b3f52.tar.gz
STC-modified-d92ffe3da29b3352c90b2d356e395914ba5b3f52.zip
More docs updates, and a change in stc/extend.h.
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 a576a85c..d0887353 100644
--- a/misc/examples/prime.c
+++ b/misc/examples/prime.c
@@ -42,7 +42,7 @@ int main(void)
puts("\n");
puts("Show the last 50 primes using a temporary crange generator:");
- c_forfilter (i, crange, crange_object(n - 1, 0, -2),
+ c_forfilter (i, crange, crange_obj(n - 1, 0, -2),
cbits_test(&primes, *i.ref/2) &&
c_flt_take(i, 50)
){