Changeset ed95e6 in git
- Timestamp:
- May 2, 2013, 1:24:58 PM (10 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 2391e43dac272afc25f70e4de19ef94ec0950d2b
- Parents:
- 121d2ae145e99602da1f3d3014e3f2c045d7185a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/clapconv.cc
r121d2ae red95e6 319 319 { 320 320 n_Normalize(p_GetCoeff(p, r), r->cf); 321 CanonicalForm term=convSingPFactoryP(NUM(p_GetCoeff(p, r)),r->cf->extRing); 322 323 if ((DEN(p_GetCoeff(p,r))!=NULL) 324 && (!errorreported)) 325 { 321 322 // test if denominator is constant 323 if (!p_IsConstantPoly(DEN (p_GetCoeff (p,r)),r) && !errorreported) 326 324 WerrorS("conversion error: denominator!= 1"); 325 326 CanonicalForm term=convSingPFactoryP(NUM (p_GetCoeff(p, r)),r->cf->extRing); 327 328 // if denominator is not NULL it should be a constant at this point 329 if (DEN (p_GetCoeff(p,r)) != NULL) 330 { 331 CanonicalForm den= convSingPFactoryP(DEN (p_GetCoeff(p, r)),r->cf->extRing); 332 if (rChar (r) == 0) 333 On (SW_RATIONAL); 334 term /= den; 327 335 } 328 336
Note: See TracChangeset
for help on using the changeset viewer.