diff --git a/lua/src/lib/primes.lua b/lua/src/lib/primes.lua index 0a00ec07..57642547 100644 --- a/lua/src/lib/primes.lua +++ b/lua/src/lib/primes.lua @@ -16,7 +16,7 @@ local function primes(stop) then table.insert(newlist, value) else - sieve[value] = { value } + sieve[value] = { step } end end sieve[cand] = nil