Changeset 96992c in git for factory/cfNewtonPolygon.cc
- Timestamp:
- Jun 17, 2011, 12:36:05 PM (12 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- 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.