Changeset a63783 in git
- Timestamp:
- Jun 17, 2016, 5:07:37 PM (8 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 1798a00a38186e92d8d8d6dc786ccdf6aad508cd
- Parents:
- 2268ed1be40fc852617a276b8e205c5086d79e12
- Location:
- kernel/GBEngine
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/kstd1.cc
r2268ed ra63783 1508 1508 strat->red2 = redHomog; 1509 1509 } 1510 #if defined(HAVE_RINGS)1511 1510 if (rField_is_Ring(currRing)) 1512 1511 { 1513 1512 if(rHasLocalOrMixedOrdering(currRing)) 1514 {strat->red = redRiloc;}1513 {strat->red2 = redRiloc;} 1515 1514 else 1516 1515 {strat->red2 = redRing;} 1517 1516 } 1518 #endif1519 1517 if (currRing->pLexOrder && strat->honey) 1520 1518 strat->initEcart = initEcartNormal; -
kernel/GBEngine/kstd2.cc
r2268ed ra63783 3284 3284 } 3285 3285 strat->initEcart(&h); 3286 pos = strat->Ll+1; 3286 if(rField_is_Ring(currRing)) 3287 pos = posInLF5CRing(strat->L, Ll_old+1,strat->Ll,&h,strat); 3288 else 3289 pos = strat->Ll+1; 3287 3290 h.sev = pGetShortExpVector(h.p); 3288 3291 enterL(&strat->L,&strat->Ll,&strat->Lmax,h,pos); -
kernel/GBEngine/kutil.cc
r2268ed ra63783 5955 5955 int i; 5956 5956 int an = 0; 5957 int en= length; 5958 loop 5959 { 5960 if (an >= en-1) 5961 { 5962 op = set[an].GetpFDeg(); 5963 if ((op > o) 5964 || ((op == o) && (pLtCmpOrdSgnDiffM(set[an].p,p->p)))) 5965 return en; 5966 return an; 5967 } 5968 i=(an+en) / 2; 5969 op = set[i].GetpFDeg(); 5970 if ((op > o) 5971 || ((op == o) && (pLtCmpOrdSgnDiffM(set[i].p,p->p)))) 5972 an=i; 5973 else 5974 en=i; 5975 } 5976 } 5977 5978 int posInLF5CRing (const LSet set, int start,const int length, 5979 LObject* p,const kStrategy strat) 5980 { 5981 if (length<0) return 0; 5982 if(start == (length +1)) return (length+1); 5983 int o = p->GetpFDeg(); 5984 int op = set[length].GetpFDeg(); 5985 5986 if ((op > o) 5987 || ((op == o) && (pLtCmpOrdSgnDiffM(set[length].p,p->p)))) 5988 return length+1; 5989 int i; 5990 int an = start; 5957 5991 int en= length; 5958 5992 loop … … 9646 9680 else if (BTEST1(12) || BTEST1(14) || BTEST1(16) || BTEST1(18)) 9647 9681 strat->posInT = posInT1; 9648 #ifdef HAVE_RINGS9649 9682 if (rField_is_Ring(currRing)) 9650 9683 { … … 9654 9687 strat->posInT = posInT11; 9655 9688 } 9656 #endif9657 9689 strat->posInLDependsOnLength = FALSE; 9658 9690 strat->posInLSba = posInLSig; -
kernel/GBEngine/kutil.h
r2268ed ra63783 470 470 int posInL11Ring (const LSet set, const int length, 471 471 LObject* L,const kStrategy strat); 472 int posInLF5CRing (const LSet set, int start , const int length, 473 LObject* L,const kStrategy strat); 472 474 int posInL11Ringls (const LSet set, const int length, 473 475 LObject* L,const kStrategy strat);
Note: See TracChangeset
for help on using the changeset viewer.