Changeset b06842 in git for libpolys/polys/ext_fields/transext.cc
- Timestamp:
- Nov 24, 2015, 4:42:24 PM (8 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- d4284f4e86f7e65672bb8784e7dc8e12b4b8aed8
- Parents:
- ff27b2e97690adee3b7a23e708eb54e8414675d7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/ext_fields/transext.cc
rff27b2e rb06842 233 233 { 234 234 poly gcd = singclap_gcd_r( num, den, ntRing ); 235 if( !p_IsOne(gcd, ntRing) ) 236 { 237 Print("ERROR in %s:%d: 1 != GCD between num. & den. poly\n",f,l); 238 Print("GCD: "); p_Write(gcd, ntRing); 239 Print("NUM: "); p_Write(num, ntRing); 240 Print("DEN: "); p_Write(den, ntRing); 241 return FALSE; 242 } 243 p_Delete( &gcd, ntRing ); 235 if(gcd!=NULL) 236 { 237 if((gcd!=NULL) && !p_IsOne(gcd, ntRing) ) 238 { 239 Print("ERROR in %s:%d: 1 != GCD between num. & den. poly\n",f,l); 240 Print("GCD: "); p_Write(gcd, ntRing); 241 Print("NUM: "); p_Write(num, ntRing); 242 Print("DEN: "); p_Write(den, ntRing); 243 return FALSE; 244 } 245 p_Delete( &gcd, ntRing ); 246 } 244 247 } 245 248 return TRUE; 246 247 248 249 249 250 if(p_IsConstant(den, ntRing) && (n_IsOne(pGetCoeff(den), ntCoeffs)))
Note: See TracChangeset
for help on using the changeset viewer.