Changeset f7ac05 in git for Singular/kutil.cc
- Timestamp:
- Jul 23, 1998, 11:07:04 AM (26 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- 51d0ed6388f48127f8364ae76fdf627c4b8b355f
- Parents:
- 1735b4e423c6efaf7ab69865d8dfb26783f5981f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/kutil.cc
r1735b4e rf7ac05 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kutil.cc,v 1.2 3 1998-06-12 10:13:34Singular Exp $ */4 /* $Id: kutil.cc,v 1.24 1998-07-23 09:07:00 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: kernel: utils for kStd … … 132 132 poly h; 133 133 134 if(!pIsVector((*p).p) && ((*p).ecart != 0)) 135 { 134 if(pIsVector((*p).p)) 135 { 136 if(!pOneComp((*p).p)) return; 137 } 138 if ((*p).ecart != 0) 139 { 140 for(i=1;i<=pVariables;i++) 141 { 142 if ((pGetExp((*p).p,1)>0) && (rIsPolyVar(i)==TRUE)) return; 143 } 136 144 h = pNext(((*p).p)); 137 145 loop 138 146 { 139 if ( !h)147 if (h==NULL) 140 148 { 141 149 pDelete(&(pNext((*p).p))); … … 3151 3159 strat->S[i] = redBba(strat->S[i],i-1,strat); 3152 3160 if ((strat->ak!=0)&&(strat->S[i]!=NULL)) 3153 3161 strat->S[i]=redQ(strat->S[i],i+1,strat); /*reduce S[i] mod Q*/ 3154 3162 if (TEST_OPT_PROT && (pComp(redSi,strat->S[i])!=0)) 3155 3163 { … … 3812 3820 { 3813 3821 //if (strat->redTailChange) 3814 3822 pCleardenom(strat->S[i]); 3815 3823 } 3816 3824 if (TEST_OPT_PROT)
Note: See TracChangeset
for help on using the changeset viewer.