aboutsummaryrefslogtreecommitdiff
path: root/primes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'primes.cpp')
-rw-r--r--primes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/primes.cpp b/primes.cpp
index d259939..934d886 100644
--- a/primes.cpp
+++ b/primes.cpp
@@ -154,7 +154,7 @@ bool strongLucasPrime(const Bigint &n){
// cerr<<"ok"<<endl;
//now begin the actual sequence algorithm
-#if 0
+#if 1
int s=0;
Bigint d(n);
d+=1;
@@ -198,7 +198,7 @@ bool strongLucasPrime(const Bigint &n){
}
}
if(U==0)return true;
-#if 0
+#if 1
if(V==0)return true; //r=0 check
for(int r=1;r<s;r++){
V*=V;