Changeset 96992c in git
- Timestamp:
- Jun 17, 2011, 12:36:05 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 17b1f38991879169b4720d2a02eff9739f37cf90
- Parents:
- 0777eaa5b4d2cac6ca8635f3d96e331a60032554
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cfNewtonPolygon.cc
r0777ea r96992c 174 174 int* getDegrees (const CanonicalForm& F, int& sizeOfOutput) 175 175 { 176 ASSERT (F.isUnivariate(), "univariate poly expected"); 176 if (F.inCoeffDomain()) 177 { 178 int* result= new int [1]; 179 result [0]= 0; 180 sizeOfOutput= 1; 181 return result; 182 } 177 183 sizeOfOutput= size (F); 178 184 int* result= new int [sizeOfOutput];
Note: See TracChangeset
for help on using the changeset viewer.