Changeset 47f985 in git for kernel/syz0.cc
- Timestamp:
- Aug 3, 2011, 6:58:36 PM (12 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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);
Note: See TracChangeset
for help on using the changeset viewer.