adapt to update sieves for additive functions

This commit is contained in:
filifa
2025-10-07 18:10:44 -04:00
parent df317e0837
commit c842762ca9
4 changed files with 9 additions and 20 deletions

View File

@@ -59,7 +59,7 @@ func Radical(n uint, buflen uint) chan uint {
sieve[i*j] = sieve[i]
}
updateMultiples(sieve, i, n)
updateMultiples(sieve, i, n, false)
ch <- sieve[i]
}
}()