Changeset 1bc7201 in git for kernel/syz2.cc
- Timestamp:
- Oct 19, 2012, 6:38:35 PM (12 years ago)
- Branches:
- (u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
- Children:
- c879eea1669e963fb4c7287a3963abb287d00a49
- Parents:
- b37b3984a12e1552c7bafc9fd5a7849240ea79806bbe944402dfca102dcc3e036c4f2f119be41e44
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/syz2.cc
r6bbe94 r1bc7201 75 75 int actdeg) 76 76 { 77 SSet temp;78 77 SObject tso; 79 poly toHandle, tsyz=NULL,p,pp;78 poly toHandle,p,pp; 80 79 int r1,r2=0,rr,l=(*syzstr->Tl)[index]; 81 80 int i,j,r=0,ti; … … 85 84 #endif 86 85 actdeg += index; 87 long * ShiftedComponents = syzstr->ShiftedComponents[index-1];88 int* Components = syzstr->truecomponents[index-1];89 86 90 87 while ((l>0) && ((syzstr->resPairs[index])[l-1].lcm==NULL)) l--; … … 119 116 { 120 117 if (((syzstr->resPairs[index])[i].p!=NULL) && 121 (pGetComp((syzstr->resPairs[index])[i].p)== tc))118 (pGetComp((syzstr->resPairs[index])[i].p)==(unsigned)tc)) 122 119 { 123 120 #ifdef USE_CHAINCRIT … … 506 503 { 507 504 int i,j,k=IDELEMS(syzstr->res[index]); 508 int ks=IDELEMS(syzstr->res[index+1]),kk ,l,ll;505 int ks=IDELEMS(syzstr->res[index+1]),kk; 509 506 int ks1=IDELEMS(syzstr->orderedRes[index+1]); 510 507 int kres=(*syzstr->Tl)[index]; 511 508 int toGo=0; 512 509 int il; 513 number coefgcd,n;514 510 SSet redset=syzstr->resPairs[index]; 515 poly p=NULL,q,tp;511 poly q; 516 512 intvec *spl1; 517 513 SObject tso; … … 522 518 int step=1,jj,j1,j2; 523 519 #endif 524 long * ShiftedComponents = syzstr->ShiftedComponents[index]; 525 int* Components = syzstr->truecomponents[index]; 526 assume(Components != NULL && ShiftedComponents != NULL); 527 BOOLEAN need_reset; 520 assume((syzstr->truecomponents[index]) != NULL && (syzstr->ShiftedComponents[index]) != NULL); 528 521 529 522 actord += index; … … 858 851 { 859 852 ideal res=syzstr->res[1]; 860 int i=0,j,k=IDELEMS(res),k1=IDELEMS(syzstr->orderedRes[1]); 861 SSet sPairs1=syzstr->resPairs[1]; 853 int i=0,k=IDELEMS(res),k1=IDELEMS(syzstr->orderedRes[1]); 862 854 SSet sPairs=syzstr->resPairs[0]; 863 855 … … 964 956 syStrategy syHilb(ideal arg,int * length) 965 957 { 966 int i,j,actdeg=32000,index=0 ,reg=-1;967 int startdeg,howmuch,toSub=0;958 int i,j,actdeg=32000,index=0; 959 int howmuch,toSub=0; 968 960 int maxindex=0,maxdeg=0; 969 961 ideal temp=NULL; … … 1028 1020 syzstr->bucket = kBucketCreate(currRing); 1029 1021 syzstr->syz_bucket = kBucketCreate(currRing); 1030 startdeg = actdeg;1031 1022 nextPairs = syChosePairs(syzstr,&index,&howmuch,&actdeg); 1032 1023 /*--- computes the resolution ----------------------*/
Note: See TracChangeset
for help on using the changeset viewer.