Changeset 69658e in git for kernel/syz3.cc
- Timestamp:
- Feb 22, 2013, 12:29:35 AM (11 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 2e2c67897e034b7ffa5b8a0dda72431cff944d4a
- Parents:
- 367df95c40f03bb94a871481eb198951b3a42c85cd4f243f3aafc7080a52fa973f2d90493e4847f2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/syz3.cc
r367df9 r69658e 112 112 ideal old_repr,int old_tl, poly next_generator,resolvente totake) 113 113 { 114 int index=syzstr->length-1,i,j,start,start_ttk ,new_tl;114 int index=syzstr->length-1,i,j,start,start_ttk/*,new_tl*/; 115 115 poly gen=pCopy(next_generator),p; 116 116 poly neg_gen=pCopy(next_generator); … … 237 237 * only for tests 238 238 */ 239 #ifdef NDEBUG 240 static void syTestPairs(SSet resPairs,int length,ideal /*old_generators*/) 241 #else 239 242 static void syTestPairs(SSet resPairs,int length,ideal old_generators) 243 #endif 240 244 { 241 245 int i=0; … … 517 521 int i=IDELEMS(red)-1,num_mon,num_tail; 518 522 poly h,hn; 519 BOOLEAN dummy;523 // BOOLEAN dummy; 520 524 521 525 while ((i>0) && (red->m[i-1]==NULL)) i--; … … 530 534 { 531 535 kBucketInit(syzstr->syz_bucket,hn,num_tail); 532 dummy =syRedSyz(syzstr->syz_bucket,red,crit_comp,gen_length);536 /*dummy =*/ (void) syRedSyz(syzstr->syz_bucket,red,crit_comp,gen_length); 533 537 kBucketClear(syzstr->syz_bucket,&hn,&num_tail); 534 538 pNext(h) = hn; … … 548 552 { 549 553 kBucketInit(syzstr->syz_bucket,hn,num_tail); 550 dummy =syRedSyz(syzstr->syz_bucket,sec_red,crit_comp,secgen_length);554 /*dummy =*/ (void) syRedSyz(syzstr->syz_bucket,sec_red,crit_comp,secgen_length); 551 555 kBucketClear(syzstr->syz_bucket,&hn,&num_tail); 552 556 pNext(h) = hn; … … 656 660 int toReplace=0; 657 661 int i,j,syz_l; 658 number coefgcd,n;662 number /*coefgcd,*/n; 659 663 polyset ogm=old_generators->m; 660 664 poly p; … … 941 945 int * ogm_l=(int*)omAlloc0(IDELEMS(syzstr->res[index])*sizeof(int)); 942 946 int * orp_l=(int*)omAlloc0(IDELEMS(syzstr->orderedRes[index])*sizeof(int)); 943 int t1=IDELEMS(syzstr->res[index]),t2=IDELEMS(syzstr->orderedRes[index]);947 // int t1=IDELEMS(syzstr->res[index]),t2=IDELEMS(syzstr->orderedRes[index]); 944 948 945 949 for (j=IDELEMS(syzstr->res[index])-1;j>=0;j--) … … 1049 1053 * updates the pairs inthe higher modules 1050 1054 */ 1051 static void updatePairsHIndex(SSet *resPairs,int *l_pairs,syStrategy syzstr,1052 int index,ideal add_generators,ideal add_repr,ideal new_generators,1053 ideal new_repr,int crit_comp,int* first_new)1055 static void updatePairsHIndex(SSet *resPairs,int *l_pairs,syStrategy /*syzstr*/, 1056 int index,ideal add_generators,ideal /*add_repr*/,ideal /*new_generators*/, 1057 ideal /*new_repr*/,int /*crit_comp*/,int* first_new) 1054 1058 { 1055 1059 int i=*first_new,l=*l_pairs,j,ll,j1,add_idel=IDELEMS(add_generators); … … 1173 1177 * reduction of a single pair in the higher moduls 1174 1178 */ 1179 #ifdef SHOW_PROT 1175 1180 static void redOnePairHIndex(SSet resPairs,int itso, int crit_comp, 1176 1181 syStrategy syzstr,int index,ideal add_generators, ideal add_repr, 1177 1182 ideal new_generators, ideal new_repr,int * next_place_add,int ** g_l, 1178 1183 poly deg_soc) 1184 #else 1185 static void redOnePairHIndex(SSet resPairs,int itso, int crit_comp, 1186 syStrategy syzstr,int /*index*/,ideal add_generators, ideal add_repr, 1187 ideal new_generators, ideal new_repr,int * next_place_add,int ** g_l, 1188 poly deg_soc) 1189 #endif 1179 1190 { 1180 1191 SObject tso = resPairs[itso]; … … 1401 1412 * reduction which is normalized afterwards 1402 1413 */ 1403 static void procedeNextGenerators(ideal temp_generators,ideal temp_repr,1414 static void procedeNextGenerators(ideal temp_generators,ideal /*temp_repr*/, 1404 1415 ideal new_generators, ideal new_repr, ideal add_generators, 1405 1416 ideal add_repr, syStrategy syzstr,int index, int crit_comp, … … 1533 1544 */ 1534 1545 static ideal normalizeOldPart(ideal new_generators,ideal new_repr, 1535 syStrategy syzstr,int index,int crit_comp)1546 syStrategy syzstr,int index,int /*crit_comp*/) 1536 1547 { 1537 1548 ideal old_generators= syzstr->res[index]; … … 1753 1764 syStrategy syKosz(ideal arg,int * length) 1754 1765 { 1755 int i,j,jj,k=0,index=0,rk_arg ,next_syz=0;1766 int i,j,jj,k=0,index=0,rk_arg/*,next_syz=0*/; 1756 1767 int crit_comp,t_comp,next_deg,old_tl; 1757 1768 ideal temp=NULL,old_ideal,old_repr;
Note: See TracChangeset
for help on using the changeset viewer.