Changeset 47f985 in git
- Timestamp:
- Aug 3, 2011, 6:58:36 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- 7e53d9acff21e67d7a47d268428d8f4f7825e91b
- Parents:
- 2a38d905f7089590329433f35ad43c3aaf5fd122
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-08-03 18:58:36+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:14:21+01:00
- Location:
- kernel
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/f5gb.cc
r2a38d90 r47f985 1213 1213 //while(NULL != tempMon) { 1214 1214 // iteration over all monomials in tempMon 1215 kBucket* bucket = kBucketCreate( );1215 kBucket* bucket = kBucketCreate(currRing); 1216 1216 kBucketInit(bucket,tempPoly,0); 1217 1217 tempPoly = kBucketGetLm(bucket); -
kernel/syz0.cc
r2a38d90 r47f985 25 25 #include <polys/kbuckets.h> 26 26 #include <polys/prCopy.h> 27 28 static kBucket_pt sy0buck;29 27 30 28 static void syInitSort(ideal arg,intvec **modcomp) … … 506 504 static ideal sySchreyersSyzygiesFB(ideal arg,intvec ** modcomp,ideal mW,BOOLEAN redTail=TRUE) 507 505 { 506 kBucket_pt sy0buck = kBucketCreate(currRing); 507 508 508 int Fl=IDELEMS(arg); 509 509 while ((Fl!=0) && (arg->m[Fl-1]==NULL)) Fl--; … … 666 666 omFreeSize((ADDRESS)pairs,(Fl + gencQ)*sizeof(poly)); 667 667 for(k=0;k<IDELEMS(result);k++) pDelete(&((*Shdl)[k])); 668 669 kBucketDestroy(&(sy0buck)); 668 670 return result; 669 671 } … … 731 733 delete *modcomp; 732 734 *modcomp = newmodcomp; 735 736 kBucketDestroy(&(sy0buck)); 733 737 return result; 734 738 } … … 876 880 resolvente res = (resolvente)omAlloc0(4*sizeof(ideal)),newres; 877 881 res[0] = idCopy(arg); 882 878 883 while ((!idIs0(res[syzIndex])) && ((maxlength==-1) || (syzIndex<maxlength))) 879 884 { 880 885 i = IDELEMS(res[syzIndex]); 881 886 //while ((i!=0) && (!res[syzIndex]->m[i-1])) i--; 882 sy0buck = kBucketCreate();883 887 if (syzIndex+1==*length) 884 888 { … … 938 942 syzIndex++; 939 943 if (TEST_OPT_PROT) Print("[%d]\n",syzIndex); 940 kBucketDestroy(&(sy0buck));941 944 } 942 945 //syPrintResolution(res,1,*length); -
kernel/syz1.cc
r2a38d90 r47f985 2348 2348 rChangeCurrRing(syzstr->syRing); 2349 2349 //Print("laeufts "); 2350 syzstr->bucket = kBucketCreate( );2350 syzstr->bucket = kBucketCreate(syzstr->syRing); 2351 2351 for (index=syzstr->length-1;index>0;index--) 2352 2352 { … … 2506 2506 syzstr->Firstelem = (int**)omAlloc0((*length+1)*sizeof(int*)); 2507 2507 syzstr->sev = (unsigned long **) omAlloc0((*length+1)*sizeof(unsigned long *)); 2508 syzstr->bucket = kBucketCreate( );2508 syzstr->bucket = kBucketCreate(currRing); 2509 2509 int len0=id_RankFreeModule(temp,currRing)+1; 2510 2510 … … 2654 2654 assume( syzstr->length == maxlength ); 2655 2655 2656 syzstr->bucket = kBucketCreate( );2656 syzstr->bucket = kBucketCreate(currRing); 2657 2657 int len0=id_RankFreeModule(temp,currRing)+1; 2658 2658 -
kernel/syz2.cc
r2a38d90 r47f985 1025 1025 syzstr->hilb_coeffs = (intvec**)omAlloc0((*length+1)*sizeof(intvec*)); 1026 1026 syzstr->sev = (unsigned long **)omAlloc0((*length+1)*sizeof(unsigned long*)); 1027 syzstr->bucket = kBucketCreate( );1028 syzstr->syz_bucket = kBucketCreate( );1027 syzstr->bucket = kBucketCreate(currRing); 1028 syzstr->syz_bucket = kBucketCreate(currRing); 1029 1029 startdeg = actdeg; 1030 1030 nextPairs = syChosePairs(syzstr,&index,&howmuch,&actdeg); -
kernel/syz3.cc
r2a38d90 r47f985 1829 1829 resolvente totake=(resolvente)omAlloc0((*length+1)*sizeof(ideal)); 1830 1830 syzstr->Tl = new intvec(*length+1); 1831 syzstr->bucket = kBucketCreate( );1832 syzstr->syz_bucket = kBucketCreate( );1831 syzstr->bucket = kBucketCreate(currRing); 1832 syzstr->syz_bucket = kBucketCreate(currRing); 1833 1833 ideal new_generators=idInit(1,si_max(rk_arg,1)); 1834 1834 ideal temp_gens,old_std;
Note: See TracChangeset
for help on using the changeset viewer.