Changeset 1cd0f4 in git
- Timestamp:
- Feb 25, 2014, 3:59:50 PM (10 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 8968c1705d85c26166eb14a273dabcdba2291bd0
- Parents:
- 37693d1129265efd8305f91280e6de711af0cade
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipassign.cc
r37693d1 r1cd0f4 254 254 if( currRing->cf->extRing->qideal != NULL ) id_Delete(&(A.r->qideal),A.r); 255 255 ideal q = idInit(1,1); 256 if ((p==NULL) ||( DEN((fraction)(p)) != NULL) ||(NUM((fraction)p)==NULL))256 if ((p==NULL) ||(NUM((fraction)p)==NULL)) 257 257 { 258 258 Werror("Could not construct the alg. extension: minpoly==0"); … … 261 261 return TRUE; 262 262 } 263 264 assume( DEN((fraction)(p)) == NULL ); // minpoly must be a fraction with poly numerator...!! 263 if (DEN((fraction)(p)) != NULL) // minpoly must be a fraction with poly numerator...!! 264 { 265 poly z=NUM((fraction)p); 266 poly n=DEN((fraction)(p)); 267 z=p_Mult_nn(z,pGetCoeff(n),currRing->cf->extRing); 268 NUM((fraction)p)=z; 269 DEN((fraction)(p))=NULL; 270 p_Delete(&n,currRing->cf->extRing); 271 } 265 272 266 273 q->m[0] = NUM((fraction)p);
Note: See TracChangeset
for help on using the changeset viewer.