Browse Source

typo in findcurve script

Ian Goldberg 2 years ago
parent
commit
33e3ee9970
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sage/findcurve

+ 1 - 1
sage/findcurve

@@ -17,7 +17,7 @@ while not done:
 	Ec = E.cardinality()
 	count += 1
 	print "b =", b, "Ec =", Ec, "c =", count, "pc =", primecount
-	Etc = 2 * p + 2 - Ec
+	Etc = 2 * r + 2 - Ec
 	if Ec in Primes():
 	    primecount += 1
 	    print "Ec is prime; primecount =", primecount