[Ecm-commits] r2685 - trunk

cvs commits ecm-commits at lists.gforge.inria.fr
Tue Apr 21 13:36:23 CEST 2015


Author: zimmerma
Date: 2015-04-21 13:36:23 +0200 (Tue, 21 Apr 2015)
New Revision: 2685

Modified:
   trunk/pm1.c
Log:
don't know why memory usage was not printed for P-1 with maxmem=0...


Modified: trunk/pm1.c
===================================================================
--- trunk/pm1.c	2015-04-21 07:32:46 UTC (rev 2684)
+++ trunk/pm1.c	2015-04-21 11:36:23 UTC (rev 2685)
@@ -521,11 +521,10 @@
       mpz_clear (effB2min_nontt);
       mpz_clear (effB2_nontt);
       
-      if (maxmem != 0.)
-	  outputf (OUTPUT_VERBOSE, "Using lmax = %lu with%s NTT which takes "
-		   "about %luMB of memory\n", params.l, 
-		   (use_ntt) ? "" : "out", 
-		   pm1fs2_memory_use (params.l, N, use_ntt)/1048576);
+      outputf (OUTPUT_VERBOSE, "Using lmax = %lu with%s NTT which takes "
+               "about %luMB of memory\n", params.l, 
+               (use_ntt) ? "" : "out", 
+               pm1fs2_memory_use (params.l, N, use_ntt) / 1048576);
     }
   
   /* Print B1, B2, polynomial and x0 */



More information about the Ecm-commits mailing list