Changeset 713bdb in git for factory/algext.cc
- Timestamp:
- Sep 12, 2008, 12:43:58 PM (16 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- fb0d9aac10ed984cf41f9bd1c5e18752cecc013b
- Parents:
- cab83807bb068e131a3c656b02a316119e75729c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/algext.cc
rcab838 r713bdb 490 490 int *bound, *other; // degree vectors 491 491 bool fail; 492 bool off_rational=!isOn(SW_RATIONAL); 492 493 On( SW_RATIONAL ); // needed by bCommonDen 493 494 f = F * bCommonDen(F); … … 510 511 tmp = gcd( F, G ); 511 512 On( SW_USE_QGCD ); 513 if (off_rational) Off(SW_RATIONAL); 512 514 return tmp; 513 515 } … … 560 562 continue; 561 563 setReduce(a,true); 564 if (off_rational) Off(SW_RATIONAL); else On(SW_RATIONAL); 562 565 return CanonicalForm(1); 563 566 } … … 584 587 Off( SW_RATIONAL ); 585 588 setReduce(a,true); 589 if (off_rational) Off(SW_RATIONAL); else On(SW_RATIONAL); 586 590 return tmp; 587 591 } … … 603 607 D = gcd( f, g ); 604 608 On( SW_USE_QGCD ); 609 if (off_rational) Off(SW_RATIONAL); else On(SW_RATIONAL); 605 610 return D; 606 611 }
Note: See TracChangeset
for help on using the changeset viewer.