[Ecm-commits] r2434 - branches/6.4.4

cvs commits ecm-commits at lists.gforge.inria.fr
Fri Feb 22 15:07:15 CET 2013


Author: zimmerma
Date: 2013-02-22 15:07:14 +0100 (Fri, 22 Feb 2013)
New Revision: 2434

Log:
[main.c] removed -t option (should have been removed in r1860)


Modified:
   branches/6.4.4/main.c
Modified: branches/6.4.4/main.c
===================================================================
--- branches/6.4.4/main.c	2013-02-22 12:26:09 UTC (rev 2433)
+++ branches/6.4.4/main.c	2013-02-22 14:07:14 UTC (rev 2434)
@@ -142,7 +142,6 @@
     printf ("  -one         Stop processing a candidate if a factor is found (looping mode)\n");
     printf ("  -n           run ecm in \"nice\" mode (below normal priority)\n");
     printf ("  -nn          run ecm in \"very nice\" mode (idle priority)\n");
-    printf ("  -t n         Trial divide candidates before P-1, P+1 or ECM up to n\n");
     printf ("  -ve n        Verbosely show short (< n character) expressions on each loop\n");
     printf ("  -cofdec      Force cofactor output in decimal (even if expressions are used)\n");
     printf ("  -B2scale f   Multiplies the default B2 value by f \n");
@@ -356,7 +355,6 @@
   int deep=1, trial_factor_found;
   unsigned int displayexpr = 0;
   unsigned int decimal_cofactor = 0;
-  double maxtrialdiv = 0.0;
   double B2scale = 1.0;
   double maxmem = 0.;
   double stage1time = 0.;
@@ -693,17 +691,6 @@
 	  argv += 2;
 	  argc -= 2;
 	}
-      else if ((argc > 2) && (strcmp (argv[1], "-t") == 0))
-	{
-	  maxtrialdiv = strtod (argv[2], NULL);
-	  if (maxtrialdiv <= 0.0)
-	    {
-	      fprintf (stderr, "Error, the -t option requires a positive argument\n");
-	      exit (EXIT_FAILURE);
-  	    }
-	  argv += 2;
-	  argc -= 2;
-	}
       else if ((argc > 2) && (strcmp (argv[1], "-ve") == 0))
         {
 	  displayexpr = atoi (argv[2]);




More information about the Ecm-commits mailing list