Changeset abf7a5 in git
- Timestamp:
- Feb 2, 2015, 3:50:37 PM (9 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 5861b1f57747f96f2119b414f9879eaf0f9f4925
- Parents:
- 71e0a96366b62fc28f5a9790c3f67a0c68bbe2d6
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2015-02-02 15:50:37+01:00
- git-committer:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2015-02-02 15:54:32+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/kutil.cc
r71e0a9 rabf7a5 336 336 #ifdef HAVE_RINGS 337 337 if (rField_is_Ring(r) /*&& (rHasLocalOrMixedOrdering(r))*/) 338 lc = p _GetCoeff(p,r);338 lc = pGetCoeff(p); 339 339 #endif 340 340 341 341 #ifdef HAVE_RINGS 342 342 // Leading coef have to be a unit 343 if ( !(n IsUnit(p_GetCoeff(p, r))) ) return;343 if ( !(n_IsUnit(pGetCoeff(p), r->cf)) ) return; 344 344 #endif 345 345 … … 399 399 // domains), no zerodivisor test needed CAUTION 400 400 if (rField_is_Ring(r) /*&&(rHasLocalOrMixedOrdering(r)) */) 401 if(n_DivBy(p _GetCoeff(h,r->cf),lc,r->cf) == 0)401 if(n_DivBy(pGetCoeff(h),lc,r->cf) == 0) 402 402 return; 403 403 #endif … … 547 547 { 548 548 assume((*L)!=NULL); 549 assume(( length+incr)>0);549 assume(((*length)+incr)>0); 550 550 551 551 *L = (LSet)omReallocSize((*L),(*length)*sizeof(LObject), … … 907 907 if (strat->L[i].i_r2 < 0 || 908 908 strat->L[i].i_r2 > strat->tl || 909 strat->L[i].T_2(strat)->p != strat->L[i].p2); 909 strat->L[i].T_2(strat)->p != strat->L[i].p2) 910 return dReportError("L[%d].i_r2 out of sync", i); 910 911 } 911 912 else … … 1440 1441 wrp(gcd); 1441 1442 PrintS("\n--- create strong gcd poly: "); 1442 Print("\n p: ", i);1443 Print("\n p: %d", i); 1443 1444 wrp(p); 1444 1445 Print("\n strat->S[%d]: ", i); … … 3337 3338 } 3338 3339 step[1] = 500000; 3339 habsind = ind2( (long) p_GetCoeff(p, currRing));3340 habsind = ind2(n_Int(pGetCoeff(p), currRing->cf); 3340 3341 long bound = currRing->ch - habsind; 3341 3342 #ifdef OLI_DEBUG … … 6544 6545 #ifdef HAVE_RINGS 6545 6546 // Leading coef have to be a unit 6546 if ( !(n IsUnit(p_GetCoeff((*p).p, r))) ) return;6547 if ( !(n_IsUnit(pGetCoeff((*p).p), currRing->cf)) ) return; 6547 6548 #endif 6548 6549 k = 0;
Note: See TracChangeset
for help on using the changeset viewer.