Re-fixed calculation error

This commit is contained in:
Klemek
2018-02-18 16:21:55 +01:00
parent b428067dab
commit c5bb12b39f
+1 -1
View File
@@ -87,7 +87,7 @@ public abstract class PrimeCalculator {
long endSqrt = (long) Math.sqrt(end) + 1;
byte block = 0;
int p = 3;
int p = 2;
while (p < endSqrt) {
p = nextPrime(p);