Changeset 95c826 in git
- Timestamp:
- Jan 18, 2013, 4:13:49 PM (10 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'c987db42cd2ec943b97ac5746c99892ceddf909c')
- Children:
- 5b32a17feb4f0be885f1224b99e80004ed814aab
- Parents:
- 802b082a764f90d5988c4a3e70a438f757e3e775
- git-author:
- Martin Lee <martinlee84@web.de>2013-01-18 16:13:49+01:00
- git-committer:
- Martin Lee <martinlee84@web.de>2013-01-18 16:35:28+01:00
- Location:
- libpolys/polys/ext_fields
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/ext_fields/algext.cc
r802b08 r95c826 414 414 if (aDeg>bDeg) return TRUE; 415 415 if (aDeg<bDeg) return FALSE; 416 return n_Greater(pGetCoeff((poly)a),pGetCoeff((poly)b), cf);416 return n_Greater(pGetCoeff((poly)a),pGetCoeff((poly)b),naCoeffs); 417 417 } 418 418 -
libpolys/polys/ext_fields/transext.cc
r802b08 r95c826 608 608 ntTest(a); 609 609 ntTest(b); 610 number aNumCoeff = NULL; int aNumDeg = 0;611 number bNumCoeff = NULL; int bNumDeg = 0;610 number aNumCoeff = NULL; int aNumDeg = -1; 611 number bNumCoeff = NULL; int bNumDeg = -1; 612 612 if (!IS0(a)) 613 613 { … … 616 616 aNumCoeff = p_GetCoeff(NUM(fa), ntRing); 617 617 } 618 else return !(ntGreaterZero (b,cf)); 618 619 if (!IS0(b)) 619 620 { … … 622 623 bNumCoeff = p_GetCoeff(NUM(fb), ntRing); 623 624 } 625 else return ntGreaterZero(a,cf); 624 626 if (aNumDeg > bNumDeg) return TRUE; 625 627 if (aNumDeg < bNumDeg) return FALSE;
Note: See TracChangeset
for help on using the changeset viewer.