Changeset 993ae2 in git
- Timestamp:
- Sep 7, 2011, 9:16:49 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'cdfcdb8287f66bc6070028082cbbc6eff10e609b')
- Children:
- 3630fa8c97d52170372e9f1e47f6bec997bfa51d
- Parents:
- 3aa9b6373c3eba8145bd3a0a102735ba0fc847ae
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-09-07 21:16:49+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:12:34+01:00
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipassign.cc
r3aa9b6 r993ae2 214 214 { 215 215 poly p=(poly)a->CopyD(POLY_CMD); 216 pDelete(& ppNoether);217 ppNoether=p;216 pDelete(&(currRing->ppNoether)); 217 (currRing->ppNoether)=p; 218 218 return FALSE; 219 219 } -
Singular/ipshell.cc
r3aa9b6 r993ae2 1512 1512 if (tmp==NULL) return NULL; 1513 1513 1514 if ( ppNoether!=NULL) pDelete(&ppNoether);1514 if ((currRing->ppNoether)!=NULL) pDelete(&(currRing->ppNoether)); 1515 1515 if (sLastPrinted.RingDependend()) 1516 1516 { … … 5397 5397 currQuotient=NULL; 5398 5398 } 5399 if ( ppNoether!=NULL) pDelete(&ppNoether);5399 if ((currRing->ppNoether)!=NULL) pDelete(&(currRing->ppNoether)); 5400 5400 if (sLastPrinted.RingDependend()) 5401 5401 { -
Singular/subexpr.cc
r3aa9b6 r993ae2 625 625 if (iiCheckRing(t)) return NULL; 626 626 void *x=data; 627 if (rtyp==VNOETHER) x=(void *)pCopy( ppNoether);627 if (rtyp==VNOETHER) x=(void *)pCopy((currRing->ppNoether)); 628 628 else if ((rtyp==VMINPOLY)&& \ 629 629 nCoeff_is_Extension(currRing->cf) && \ … … 1042 1042 else 1043 1043 return (void *)currRing->cf->nNULL; 1044 case VNOETHER: return (void *) ppNoether;1044 case VNOETHER: return (void *) (currRing->ppNoether); 1045 1045 case IDHDL: 1046 1046 return IDDATA((idhdl)data); -
Singular/walk.cc
r3aa9b6 r993ae2 288 288 // } 289 289 //strat->syzComp = 0; 290 strat->kHEdgeFound = ppNoether!= NULL;291 strat->kNoether=pCopy( ppNoether);290 strat->kHEdgeFound = (currRing->ppNoether) != NULL; 291 strat->kNoether=pCopy((currRing->ppNoether)); 292 292 strat->ak = id_RankFreeModule(F, currRing); 293 293 initBuchMoraCrit(strat); … … 1802 1802 { 1803 1803 1804 if ( ppNoether!=NULL)1805 pDelete(& ppNoether);1804 if ((currRing->ppNoether)!=NULL) 1805 pDelete(&(currRing->ppNoether)); 1806 1806 1807 1807 if (((sLastPrinted.rtyp>BEGIN_RING) && (sLastPrinted.rtyp<END_RING)) || … … 1873 1873 { 1874 1874 1875 if ( ppNoether!=NULL)1876 pDelete(& ppNoether);1875 if ((currRing->ppNoether)!=NULL) 1876 pDelete(&(currRing->ppNoether)); 1877 1877 1878 1878 if (((sLastPrinted.rtyp>BEGIN_RING) && (sLastPrinted.rtyp<END_RING)) || -
kernel/kstd1.cc
r3aa9b6 r993ae2 1115 1115 strat->posInLOldFlag = TRUE; 1116 1116 strat->initEcart = initEcartNormal; 1117 strat->kHEdgeFound = ppNoether!= NULL;1117 strat->kHEdgeFound = (currRing->ppNoether) != NULL; 1118 1118 if ( strat->kHEdgeFound ) 1119 strat->kNoether = pCopy( ppNoether);1119 strat->kNoether = pCopy((currRing->ppNoether)); 1120 1120 else if (strat->kHEdgeFound || strat->homog) 1121 1121 strat->red = redFirst; /*take the first possible in T*/ … … 1124 1124 if (strat->kHEdgeFound) 1125 1125 { 1126 strat->HCord = currRing->pFDeg( ppNoether,currRing)+1;1126 strat->HCord = currRing->pFDeg((currRing->ppNoether),currRing)+1; 1127 1127 strat->posInT = posInT2; 1128 1128 } … … 1202 1202 /*updateS in initBuchMora has Hecketest 1203 1203 * and could have put strat->kHEdgdeFound FALSE*/ 1204 if ( ppNoether!=NULL)1204 if ((currRing->ppNoether)!=NULL) 1205 1205 { 1206 1206 strat->kHEdgeFound = TRUE; … … 1437 1437 //strat->ak = si_max(idRankFreeModule(F),pMaxComp(q)); 1438 1438 /*- creating temp data structures------------------- -*/ 1439 strat->kHEdgeFound = ppNoether!= NULL;1440 strat->kNoether = pCopy( ppNoether);1439 strat->kHEdgeFound = (currRing->ppNoether) != NULL; 1440 strat->kNoether = pCopy((currRing->ppNoether)); 1441 1441 test|=Sy_bit(OPT_REDTAIL); 1442 1442 test&=~Sy_bit(OPT_INTSTRATEGY); … … 1567 1567 //strat->ak = si_max(idRankFreeModule(F),idRankFreeModule(q)); 1568 1568 /*- creating temp data structures------------------- -*/ 1569 strat->kHEdgeFound = ppNoether!= NULL;1570 strat->kNoether=pCopy( ppNoether);1569 strat->kHEdgeFound = (currRing->ppNoether) != NULL; 1570 strat->kNoether=pCopy((currRing->ppNoether)); 1571 1571 test|=Sy_bit(OPT_REDTAIL); 1572 1572 if (TEST_OPT_STAIRCASEBOUND … … 2200 2200 // } 2201 2201 //strat->syzComp = 0; 2202 strat->kHEdgeFound = ppNoether!= NULL;2203 strat->kNoether=pCopy( ppNoether);2202 strat->kHEdgeFound = (currRing->ppNoether) != NULL; 2203 strat->kNoether=pCopy((currRing->ppNoether)); 2204 2204 strat->ak = id_RankFreeModule(tempF,currRing); 2205 2205 initBuchMoraCrit(strat); -
kernel/polys.h
r3aa9b6 r993ae2 225 225 226 226 typedef poly* polyset; 227 extern poly ppNoether; 227 // // // extern poly ppNoether; // use currRing -> ppNoether!!! 228 228 extern BOOLEAN pVectorOut; 229 229 -
libpolys/polys/monomials/p_polys.cc
r3aa9b6 r993ae2 3032 3032 void p_SetGlobals(const ring r, BOOLEAN complete) 3033 3033 { 3034 if (r->ppNoether!=NULL) p_Delete(&r->ppNoether,r); 3034 // // // if (r->ppNoether!=NULL) p_Delete(&r->ppNoether,r); // ??? 3035 3035 3036 3036 if (complete)
Note: See TracChangeset
for help on using the changeset viewer.