Parcourir la source

typo in findcurve script

Ian Goldberg il y a 5 ans
Parent
commit
33e3ee9970
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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