[Ecm-commits] r2383 - trunk

cvs commits ecm-commits at lists.gforge.inria.fr
Fri Feb 8 20:30:47 CET 2013


Author: morain
Date: 2013-02-08 20:30:46 +0100 (Fri, 08 Feb 2013)
New Revision: 2383

Log:
Bug fix that prevented CM curves to be used on ordinary numbers.


Modified:
   trunk/manyecm.c
Modified: trunk/manyecm.c
===================================================================
--- trunk/manyecm.c	2013-02-08 17:37:39 UTC (rev 2382)
+++ trunk/manyecm.c	2013-02-08 19:30:46 UTC (rev 2383)
@@ -1176,7 +1176,7 @@
 					  params,savefilename);
 	  }
 	  if(res == ECM_NO_FACTOR_FOUND
-	     && (curvesname != NULL || torsion != NULL)){
+	     && (curvesname != NULL || torsion != NULL || disc != 0)){
 	      nf = 0;
 	      res = process_many_curves_loop(tf, &nf, N, B1, B2, params,
 					     curvesname,




More information about the Ecm-commits mailing list