Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Jan 7, 2024
1 parent 5bf8fce commit 1ea8fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nthPrime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ uint64_t PrimeSieve::nthPrime(int64_t n, uint64_t start)

// Only use multi-threading if the sieving distance is sufficiently
// large. For small n this if statement also avoids calling
// countPrimes() and hence the initailization overhead of
// countPrimes() and hence the initialization overhead of
// O(x^0.5 log log x^0.5) occurs only once (instead of twice) when
// using primesieve::iterator further down.
if (primeApprox - start > isqrt(primeApprox) / 10)
Expand Down

0 comments on commit 1ea8fe9

Please sign in to comment.