Changeset aebdf8 in git for factory/facAlgFuncUtil.cc
- Timestamp:
- Jul 30, 2014, 2:58:49 PM (10 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- 6ae00cadb996ac82dcc3b5062290c6dc9f211731
- Parents:
- 98148c7263409c3b3ec3de55b6ac6e9b992aa2f0
- git-author:
- Martin Lee <martinlee84@web.de>2014-07-30 14:58:49+02:00
- git-committer:
- Martin Lee <martinlee84@web.de>2014-07-31 12:08:29+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/facAlgFuncUtil.cc
r98148c7 raebdf8 608 608 CanonicalForm pi, pi1, q, t0, t1, Hi, bi, pi2; 609 609 bool isRat= isOn (SW_RATIONAL); 610 pi= f; 611 pi1= g; 612 if (isRat) 613 { 614 pi *= bCommonDen (pi); 615 pi1 *= bCommonDen (pi1); 616 } 610 617 CanonicalForm m,tmp; 611 618 if (isRat && getCharacteristic() == 0) 612 619 Off (SW_RATIONAL); 613 pi= f/content (f,x); 614 pi1= g/content (g,x); 620 621 pi= pi/content (pi,x); 622 pi1= pi1/content (pi1,x); 615 623 616 624 t0= 0; … … 647 655 } 648 656 t1 /= gcd (pi1, t1); 649 if ( !isRat && getCharacteristic() == 0)650 O ff(SW_RATIONAL);657 if (isRat && getCharacteristic() == 0) 658 On (SW_RATIONAL); 651 659 return t1; 652 660 }
Note: See TracChangeset
for help on using the changeset viewer.