From 0864279db2f62b455b9a20183ae708d280cd132b Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Thu, 21 Mar 2013 22:21:48 +0000 Subject: [PATCH] Fix typo. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1459554 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/math3/primes/Primes.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }