Changeset f8fb93d in git for kernel/GBEngine/kstd1.cc
- Timestamp:
- May 17, 2016, 3:33:14 PM (8 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- e6f1e67739dcb8bc40ce2fcd97b4b37cfe8f0302
- Parents:
- 045cbe4a6ae2c0b09895eb1b2407beeb5c723e7e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/kstd1.cc
r045cbe rf8fb93d 12 12 #define MORA_USE_BUCKETS 13 13 14 #define MYTEST 015 16 14 #define ADIDEBUG 0 17 15 #define ADIDEBUG_NF 0 … … 23 21 #include <misc/options.h> 24 22 #include <misc/intvec.h> 25 26 #if MYTEST27 #ifdef HAVE_TAIL_RING28 #undef HAVE_TAIL_RING29 #endif /* ifdef HAVE_TAIL_RING */30 #endif /* if MYTEST */31 23 32 24 #include <polys/weight.h> … … 1616 1608 kTest_TS(strat); 1617 1609 strat->use_buckets = kMoraUseBucket(strat); 1618 /*- compute-------------------------------------------*/1619 1610 1620 1611 #ifdef HAVE_TAIL_RING … … 1629 1620 } 1630 1621 1622 /*- compute-------------------------------------------*/ 1631 1623 while (strat->Ll >= 0) 1632 1624 { … … 1836 1828 if (strat->P.lcm!=NULL) 1837 1829 { 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 1840 1833 #else 1841 pLmFree(strat->P.lcm);1834 pLmFree(strat->P.lcm); 1842 1835 #endif 1843 1836 strat->P.lcm=NULL; 1844 1837 } 1838 1845 1839 #ifdef KDEBUG 1846 1840 // make sure kTest_TS does not complain about strat->P … … 1866 1860 } 1867 1861 kTest_TS(strat); 1868 1869 #if ADIDEBUG1870 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 */1880 1862 } 1881 1863 /*- complete reduction of the standard basis------------------------ -*/ … … 2293 2275 idTest(F); 2294 2276 if (Q!=NULL) idTest(Q); 2295 2296 #if MYTEST2297 if (TEST_OPT_DEBUG)2298 {2299 PrintS("// kSTD: currRing: ");2300 rWrite(currRing);2301 }2302 #endif2303 2304 2277 #endif 2305 2278 #ifdef HAVE_PLURAL … … 2504 2477 idTest(F); 2505 2478 idTest(Q); 2506 2507 #if MYTEST2508 if (TEST_OPT_DEBUG)2509 {2510 PrintS("// kSTD: currRing: ");2511 rWrite(currRing);2512 }2513 #endif2514 2515 2479 #endif 2516 2480 #ifdef HAVE_PLURAL
Note: See TracChangeset
for help on using the changeset viewer.