diff --git a/src/main/java/org/apache/commons/math3/primes/Primes.java b/src/main/java/org/apache/commons/math3/primes/Primes.java index 4f27607f3..6e51085f7 100644 --- a/src/main/java/org/apache/commons/math3/primes/Primes.java +++ b/src/main/java/org/apache/commons/math3/primes/Primes.java @@ -78,7 +78,7 @@ public class Primes { if (n == 2) { return 2; } - n = n | 1;//make sur n is odd + n = n | 1;//make sure n is odd if (n == 1) { return 2; }