[Ecm-commits] r2610 - trunk

cvs commits ecm-commits at lists.gforge.inria.fr
Fri Feb 13 20:32:44 CET 2015


Author: morain
Date: 2015-02-13 20:32:44 +0100 (Fri, 13 Feb 2015)
New Revision: 2610

Modified:
   trunk/addlaws.c
   trunk/test.ecm
Log:
stupid bug.


Modified: trunk/addlaws.c
===================================================================
--- trunk/addlaws.c	2015-02-13 14:08:57 UTC (rev 2609)
+++ trunk/addlaws.c	2015-02-13 19:32:44 UTC (rev 2610)
@@ -2067,7 +2067,7 @@
 int
 ell_point_mul(ell_point_t Q, mpz_t e, ell_point_t P, ell_curve_t E, mpmod_t n)
 {
-#if 0 /* keeping it simple */
+#if 1 /* keeping it simple */
     return ell_point_mul_plain(Q, e, P, E, n);
 #else
     return ell_point_mul_add_sub(Q, e, P, E, n);

Modified: trunk/test.ecm
===================================================================
--- trunk/test.ecm	2015-02-13 14:08:57 UTC (rev 2609)
+++ trunk/test.ecm	2015-02-13 19:32:44 UTC (rev 2610)
@@ -307,13 +307,13 @@
 ##### tests for curves with specific torsion
 echo 4722366482800925736961 | $ECM -torsion Z5 -sigma 2 1e5; checkcode $? 14
 ## a factor is to be found during initialization
-echo 12787261 | ./ecm -torsion Z5 -sigma 1000 1e2; checkcode $? 14
+echo 12787261 | $ECM -torsion Z5 -sigma 1000 1e2; checkcode $? 14
 ## a factor is to be found during initialization
-#echo 123041 | ./ecm -torsion Z7 -sigma 2 1e2; checkcode $? 14
+#echo 123041 | $ECM -torsion Z7 -sigma 2 1e2; checkcode $? 14
 ## a factor is found
-#echo 13290059 | ./ecm -torsion Z7 -sigma 4 1e2; checkcode $? 14
+#echo 13290059 | $ECM -torsion Z7 -sigma 4 1e2; checkcode $? 14
 ## in step 2
-#echo 2432902008176640001 | ./ecm -torsion Z7 -sigma 1 1e3 1e8; checkcode $? 14
+#echo 2432902008176640001 | $ECM -torsion Z7 -sigma 1 1e3 1e8; checkcode $? 14
 
 # the following tests should work on machines which have uint64_t or where
 # unsigned long long has 64 bits (exercises patch from David Cleaver, r1575)



More information about the Ecm-commits mailing list