summaryrefslogtreecommitdiff
path: root/sieve.kpl
diff options
context:
space:
mode:
Diffstat (limited to 'sieve.kpl')
-rw-r--r--sieve.kpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/sieve.kpl b/sieve.kpl
index e3b89a5..191e203 100644
--- a/sieve.kpl
+++ b/sieve.kpl
@@ -11,7 +11,7 @@ sieve_init : ([I64.n]
sieve_get_primes : ([%ref Array[Bool].table]
([result; value; index]
- ? value { result `push index }
+ ? value { result `push I64 $ index }
result
) `reduce (Array[I64] $ (); table)
)