Explorar el Código

typo in findcurve script

Ian Goldberg hace 6 años
padre
commit
33e3ee9970
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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