Changeset 2b17ec in git
- Timestamp:
- May 11, 2011, 5:52:24 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '7725b5cfc1eaf99630826ecc59f559d3b6831c24')
- Children:
- e92dc4a2ac737df19d2c317609ccd85d14e7df55
- Parents:
- 7d2573e1aca16d3661e41bb819c81b7bf820bd8b
- Location:
- kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/polys.cc
r7d2573 r2b17ec 151 151 /*2 152 152 * divides a by the monomial b, ignores monomials which are not divisible 153 * assumes that b is not NULL 153 * assumes that b is not NULL, destroys b 154 154 */ 155 155 poly pDivideM(poly a, poly b) 156 156 { 157 if (a==NULL) return NULL;157 if (a==NULL) { pDelete(&b); return NULL; } 158 158 poly result=a; 159 159 poly prev=NULL; … … 369 369 } 370 370 371 /*4372 *Returns the exponent of the maximal power of the leading monomial of373 *p2 in that of p1374 */375 371 /*----------utilities for syzygies--------------*/ 376 372 poly pTakeOutComp(poly * p, int k) -
kernel/syz1.cc
r7d2573 r2b17ec 2192 2192 ltS = -1; 2193 2193 kBucket_Minus_m_Mult_p(syzstr->bucket,mp,tempStripped,<S); 2194 pDelete(&mp); 2194 2195 mp = p; 2195 2196 } … … 2370 2371 } 2371 2372 delete Strip; 2373 delete ordn; 2372 2374 Strip = NULL; 2373 2375 }
Note: See TracChangeset
for help on using the changeset viewer.