Changeset f8fb93d in git for kernel/GBEngine/kstd1.cc


Ignore:
Timestamp:
May 17, 2016, 3:33:14 PM (8 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
e6f1e67739dcb8bc40ce2fcd97b4b37cfe8f0302
Parents:
045cbe4a6ae2c0b09895eb1b2407beeb5c723e7e
Message:
removed unused debug stuff from bba/mora
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kstd1.cc

    r045cbe rf8fb93d  
    1212#define MORA_USE_BUCKETS
    1313
    14 #define MYTEST 0
    15 
    1614#define ADIDEBUG 0
    1715#define ADIDEBUG_NF 0
     
    2321#include <misc/options.h>
    2422#include <misc/intvec.h>
    25 
    26 #if MYTEST
    27 #ifdef HAVE_TAIL_RING
    28 #undef HAVE_TAIL_RING
    29 #endif /* ifdef HAVE_TAIL_RING */
    30 #endif /* if MYTEST */
    3123
    3224#include <polys/weight.h>
     
    16161608  kTest_TS(strat);
    16171609  strat->use_buckets = kMoraUseBucket(strat);
    1618   /*- compute-------------------------------------------*/
    16191610
    16201611#ifdef HAVE_TAIL_RING
     
    16291620  }
    16301621
     1622  /*- compute-------------------------------------------*/
    16311623  while (strat->Ll >= 0)
    16321624  {
     
    18361828      if (strat->P.lcm!=NULL)
    18371829      {
    1838 #if defined(HAVE_RINGS)
    1839         pLmDelete(strat->P.lcm);
     1830#ifdef HAVE_RINGS
     1831        if (rField_is_Ring(currRing)) pLmDelete(strat->P.lcm);
     1832        else
    18401833#else
    1841         pLmFree(strat->P.lcm);
     1834          pLmFree(strat->P.lcm);
    18421835#endif
    18431836        strat->P.lcm=NULL;
    18441837      }
     1838
    18451839#ifdef KDEBUG
    18461840      // make sure kTest_TS does not complain about strat->P
     
    18661860    }
    18671861    kTest_TS(strat);
    1868 
    1869 #if ADIDEBUG
    1870     Print("\n    The new reducer list T -- at the end of loop %d -- is\n",loop_count);
    1871     for(int iii=0;iii<=strat->tl;iii++)
    1872     {
    1873       printf("\n    T[%d]:",iii);
    1874       p_Write(strat->T[iii].p,strat->tailRing);
    1875     }
    1876     PrintLn();
    1877 
    1878     loop_count++;
    1879 #endif /* ADIDEBUG */
    18801862  }
    18811863  /*- complete reduction of the standard basis------------------------ -*/
     
    22932275  idTest(F);
    22942276  if (Q!=NULL) idTest(Q);
    2295 
    2296 #if MYTEST
    2297   if (TEST_OPT_DEBUG)
    2298   {
    2299     PrintS("// kSTD: currRing: ");
    2300     rWrite(currRing);
    2301   }
    2302 #endif
    2303 
    23042277#endif
    23052278#ifdef HAVE_PLURAL
     
    25042477  idTest(F);
    25052478  idTest(Q);
    2506 
    2507 #if MYTEST
    2508   if (TEST_OPT_DEBUG)
    2509   {
    2510     PrintS("// kSTD: currRing: ");
    2511     rWrite(currRing);
    2512   }
    2513 #endif
    2514 
    25152479#endif
    25162480#ifdef HAVE_PLURAL
Note: See TracChangeset for help on using the changeset viewer.