Changeset dccb85 in git
- Timestamp:
- Feb 3, 2015, 9:40:17 AM (9 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 1d0b91fbec50d1a0fc884eb1fe44cf48dfd0ff8e
- Parents:
- bd3bac8ebfab4a67210d850dc35a296d9a4a9afa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/kutil.cc
rbd3bac rdccb85 339 339 #endif 340 340 341 #ifdef HAVE_RINGS // needs cleanup341 #ifdef HAVE_RINGS 342 342 // Leading coef have to be a unit 343 // example 2x+4x2 should be simplified to 2x*(1+2x) 344 // and 2 is not a unit in Z 343 345 //if ( !(n_IsUnit(pGetCoeff(p), r->cf)) ) return; 344 346 #endif … … 6546 6548 if (!pIsVector((*p).p) && ((*p).ecart != 0)) 6547 6549 { 6548 #ifdef HAVE_RINGS // needs cleanup 6549 // Leading coef have to be a unit 6550 if ( !(n_IsUnit(pGetCoeff((*p).p), currRing->cf)) ) return; 6550 #ifdef HAVE_RINGS 6551 // Leading coef have to be a unit: no 6552 // example 2x+4x2 should be simplified to 2x*(1+2x) 6553 // and 2 is not a unit in Z 6554 //if ( !(n_IsUnit(pGetCoeff((*p).p), currRing->cf)) ) return; 6551 6555 #endif 6552 6556 k = 0;
Note: See TracChangeset
for help on using the changeset viewer.