Changeset 9fd0b1 in git for factory/facAlgExt.cc
- Timestamp:
- Jun 20, 2011, 6:29:12 PM (12 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 2d0f7d3bc1abfb71f9873d236dbbea3cf7a7860f
- Parents:
- 4e35a894dd1ecea25a42d6b12a182338771e5732
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/facAlgExt.cc
r4e35a89 r9fd0b1 103 103 ASSERT (getCharacteristic() == 0, "characteristic 0 expected"); 104 104 105 if (!isOn (SW_RATIONAL))106 105 bool save_rat=!isOn (SW_RATIONAL); 106 On (SW_RATIONAL); 107 107 CanonicalForm f= F*bCommonDen (F); 108 108 int shift; … … 112 112 CFList factors; 113 113 if (normFactors.length() <= 2) 114 { 115 if (save_rat) Off(SW_RATIONAL); 114 116 return CFList (F); 117 } 115 118 116 119 normFactors.removeFirst(); … … 131 134 } 132 135 ASSERT (degree (buf) <= 0, "incomplete factorization"); 136 if (save_rat) Off(SW_RATIONAL); 133 137 return factors; 134 138 }
Note: See TracChangeset
for help on using the changeset viewer.