Changeset b4f7eb in git


Ignore:
Timestamp:
May 19, 2011, 2:08:34 PM (13 years ago)
Author:
Stefan Steidel <steidel@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
55608a78dc5f45276e2138266996767392a31c2c
Parents:
ea125f56f098dfeb4810d7c5066ec3a700e631e8
Message:
Some printlevel improvements.

git-svn-id: file:///usr/local/Singular/svn/trunk@14231 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/modstd.lib

    rea125f rb4f7eb  
    209209   if(isIncluded(I,J) == 0) { j = 0; }
    210210
    211    if(printlevel >= 10)
     211   if(printlevel >= 11)
    212212   {
    213213      "isIncluded(I,J) takes "+string(timer - t)+" seconds";
     
    229229      if(isIncluded(J,K) == 0) { j = 0; }
    230230
    231       if(printlevel >= 10)
     231      if(printlevel >= 11)
    232232      {
    233233         "isIncluded(K,J) takes "+string(timer - t)+" seconds";
     
    10361036      }
    10371037
    1038       if(pd > 2) { "lifting"; }
    1039 
    10401038//------------------------  Delete unlucky primes  -----------------------------
    10411039//-------------  unlucky if and only if the leading ideal is wrong  ------------
     
    10481046//-------------------  Lift results to basering via farey  ---------------------
    10491047
     1048      tt = timer;     
    10501049      N = T2[1];
    1051       for(i = 2; i <= size(T2); i++){N = N*T2[i];}
     1050      for(i = 2; i <= size(T2); i++) { N = N*T2[i]; }
    10521051      H = chinrem(T1,T2);
    10531052      J = farey(H,N);
     1053      if(printlevel >= 10) { "Lifting-process takes "+string(timer - tt)
     1054                             +" seconds"; }
    10541055
    10551056//----------------  Test if we already have a standard basis of I --------------
    10561057
    10571058      tt = timer; rt = rtimer;
    1058       if(pd > 2) { "list of primes:"; L; "pTest"; }
    10591059      if((variant == 1) || (variant == 3) || (variant == 4) || (variant == 6))
    10601060      {
     
    10761076         if(printlevel >= 10)
    10771077         {
    1078             "CPU-time for computation without final tests is
    1079             "+string(timer - TT)+" seconds.";
    1080             "Real-time for computation without final tests is
    1081             "+string(rtimer - RT)+" seconds.";
     1078            "CPU-time for computation without final tests is "
     1079            +string(timer - TT)+" seconds.";
     1080            "Real-time for computation without final tests is "
     1081            +string(rtimer - RT)+" seconds.";
    10821082         }
    10831083
     
    10881088         if(printlevel >= 10)
    10891089         {
    1090             "CPU-time for checking if I subset <G> is
    1091             "+string(timer - tt)+" seconds.";
    1092             "Real-time for checking if I subset <G> is
    1093             "+string(rtimer - rt)+" seconds.";
     1090            "CPU-time for checking if I subset <G> is "
     1091            +string(timer - tt)+" seconds.";
     1092            "Real-time for checking if I subset <G> is "
     1093            +string(rtimer - rt)+" seconds.";
    10941094         }
    10951095
     
    11121112               if(printlevel >= 10)
    11131113               {
    1114                   "CPU-time for last std-computation is
    1115                   "+string(timer - tt)+" seconds.";
    1116                   "Real-time for last std-computation is
    1117                   "+string(rtimer - rt)+" seconds.";
     1114                  "CPU-time for last std-computation is "
     1115                  +string(timer - tt)+" seconds.";
     1116                  "Real-time for last std-computation is "
     1117                  +string(rtimer - rt)+" seconds.";
    11181118               }
    11191119
Note: See TracChangeset for help on using the changeset viewer.