Changeset a969ff in git
- Timestamp:
- Mar 21, 2016, 2:43:26 PM (8 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- cf5fba9676fd2b05c5b5e85d2a950307c034fd1e
- Parents:
- 770afafee6b4b73035818ab5d72c01d2c9fbd566
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/kstd1.cc
r770afa ra969ff 1205 1205 else 1206 1206 deleteHC(&(strat->L[i]), strat); 1207 if (strat->L[i].IsNull())1207 if (strat->L[i].IsNull()) 1208 1208 deleteInL(strat->L,&strat->Ll,i,strat); 1209 1209 else … … 1220 1220 /*2 1221 1221 * cuts in T above strat->kNoether and tries to cancel a unit 1222 * changes also S as S is a subset of T 1222 1223 */ 1223 1224 void updateT(kStrategy strat) … … 1232 1233 /*- tries to cancel a unit: -*/ 1233 1234 cancelunit(&p); 1235 if (TEST_OPT_INTSTRATEGY) /* deleteHC and/or cancelunit may have changed p*/ 1236 p.pCleardenom(); 1234 1237 if (p.p != strat->T[i].p) 1235 1238 { … … 1282 1285 return; 1283 1286 1284 #ifndef HAVE_RINGS 1285 strat->red = redFirst; 1286 strat->use_buckets = kMoraUseBucket(strat); 1287 #else 1287 #ifdef HAVE_RINGS 1288 1288 if ( (!rField_is_Ring(currRing)) || (rHasGlobalOrdering(currRing))) 1289 #endif 1289 1290 { 1290 1291 strat->red = redFirst; 1291 1292 strat->use_buckets = kMoraUseBucket(strat); 1292 1293 } 1293 #endif1294 1294 updateT(strat); 1295 1295 1296 #ifndef HAVE_RINGS 1297 strat->posInT = posInT2; 1298 reorderT(strat); 1299 #else 1296 #ifdef HAVE_RINGS 1300 1297 if ( (!rField_is_Ring(currRing)) || (rHasGlobalOrdering(currRing))) 1298 #endif 1301 1299 { 1302 1300 strat->posInT = posInT2; 1303 1301 reorderT(strat); 1304 1302 } 1305 #endif1306 1303 } 1307 1304 kTest_TS(strat); … … 1724 1721 } 1725 1722 1723 // the s-poly 1726 1724 if (!strat->P.IsNull()) 1727 1725 { … … 1750 1748 } 1751 1749 1750 // the reduced s-poly 1752 1751 if (! strat->P.IsNull()) 1753 1752 { … … 1756 1755 if (TEST_OPT_PROT) PrintS("s"); 1757 1756 // normalization 1758 if (!TEST_OPT_INTSTRATEGY) 1757 if (TEST_OPT_INTSTRATEGY) 1758 strat->P.pCleardenom(); 1759 else 1759 1760 strat->P.pNorm(); 1760 1761 // tailreduction … … 1771 1772 cancelunit(&strat->P); 1772 1773 // for char 0, clear denominators 1773 if (TEST_OPT_INTSTRATEGY) 1774 if ((strat->P.p->next==NULL) /* i.e. cancelunit did something*/ 1775 && TEST_OPT_INTSTRATEGY) 1774 1776 strat->P.pCleardenom(); 1775 1777 … … 1833 1835 // clear strat->P 1834 1836 if (strat->P.lcm!=NULL) 1837 { 1835 1838 #if defined(HAVE_RINGS) 1836 1839 pLmDelete(strat->P.lcm); … … 1838 1841 pLmFree(strat->P.lcm); 1839 1842 #endif 1840 strat->P.lcm=NULL; 1843 strat->P.lcm=NULL; 1844 } 1841 1845 #ifdef KDEBUG 1842 1846 // make sure kTest_TS does not complain about strat->P
Note: See TracChangeset
for help on using the changeset viewer.