Explorar o código

Update README.md

Gary Paduana %!s(int64=9) %!d(string=hai) anos
pai
achega
b879c26760
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -55,7 +55,7 @@ Import the dependency as a Grape.
     })
     
     println timeIt({
-        for(int i = 2; i < Math.sqrt(number); i++){
+        for(int i = 2; i <= Math.sqrt(number); i++){
             if((number % i) == 0){
                 return false
             }        
@@ -66,4 +66,4 @@ Import the dependency as a Grape.
 Produces:
 
     [returnValue:true, duration:0.000181163]
-    [returnValue:true, duration:0.000164525]
+    [returnValue:true, duration:0.000164525]