Changeset f3f526 in git
 Timestamp:
 Feb 28, 2020, 3:04:30 PM (4 years ago)
 Branches:
 (u'fiekerDuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c7af8613769b29c741d6c338945669719f1fc4f8')
 Children:
 64b2fd4d4be8a68ebf8729a7eb2b4780cbd55223
 Parents:
 755296268cecf52058c0d823adbeb25b4c898766
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

kernel/GBEngine/kutil.cc
r755296 rf3f526 333 333 void cancelunit (LObject* L,BOOLEAN inNF) 334 334 { 335 number lc;336 337 335 if(rHasGlobalOrdering (currRing)) return; 338 336 if(TEST_OPT_CANCELUNIT) return; … … 342 340 if(p_GetComp(p, r) != 0 && !p_OneComp(p, r)) return; 343 341 342 number lc=NULL; /*dummy, is always set if rField_is_Ring(r) */ 344 343 if (rField_is_Ring(r) /*&& (rHasLocalOrMixedOrdering(r))*/) 345 344 lc = pGetCoeff(p); 346 #ifdef HAVE_RINGS 345 347 346 // Leading coef have to be a unit 348 347 // example 2x+4x2 should be simplified to 2x*(1+2x) 349 348 // and 2 is not a unit in Z 350 349 //if ( !(n_IsUnit(pGetCoeff(p), r>cf)) ) return; 351 #endif352 353 350 354 351 // for(i=r>N;i>0;i)
Note: See TracChangeset
for help on using the changeset viewer.