Changeset 9501be in git
- Timestamp:
- Sep 2, 2013, 6:08:50 PM (10 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- 3cadd014f1310674ce369c4fc549699d470edbfc
- Parents:
- 6b32a6bb58daaab3b910e13ba57e360422f257bf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/ext_fields/transext.cc
r6b32a6b r9501be 371 371 { 372 372 ntTest(a); 373 definiteGcdCancellation(a, cf, FALSE);374 fraction f = (fraction)a;375 373 376 374 fraction result = (fraction)omAlloc0Bin(fractionObjectBin); … … 378 376 COM (result)= 0; 379 377 380 if ( a==NULL)381 { 382 NUM (result) = p_One(ntRing);378 if (IS0(a)) 379 { 380 NUM (result) = p_One(ntRing); 383 381 return (number)result; 384 } 382 } 383 384 definiteGcdCancellation(a, cf, FALSE); 385 386 fraction f = (fraction)a; 387 388 assume( !IS0(f) ); 389 385 390 const BOOLEAN denis1 = DENIS1 (f); 386 391 387 if( IS0(f) || (denis1 &&getCoeffType (ntCoeffs) != n_Q) ) // */1 or 0392 if( denis1 && (getCoeffType (ntCoeffs) != n_Q) ) // */1 or 0 388 393 { 389 394 NUM (result)= p_One(ntRing);
Note: See TracChangeset
for help on using the changeset viewer.