Changeset 2a38d90 in git for kernel/syz0.cc
- Timestamp:
- Aug 3, 2011, 6:46:30 PM (12 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 47f9851c41b863a6cb62e84a4752eb913c8158ca
- Parents:
- af223b02cc71d0a13ef6b4dc8b7bc7843294331a
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-08-03 18:46:30+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:14:20+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/syz0.cc
raf223b0 r2a38d90 519 519 //#define WRITE_BUCKETS 520 520 #ifdef WRITE_BUCKETS 521 PrintS("Input: \n");522 ideal twr=idHead(arg);523 idPrint(arg);524 idDelete(&twr);525 if (modcomp!=NULL) (*modcomp)->show(0,0);521 PrintS("Input: \n"); 522 ideal twr=idHead(arg); 523 idPrint(arg); 524 idDelete(&twr); 525 if (modcomp!=NULL) (*modcomp)->show(0,0); 526 526 #endif 527 527 528 newmodcomp = new intvec(Fl+2); 528 //for (j=0;j<Fl;j++) pWrite(F[j]);529 //PrintLn();529 //for (j=0;j<Fl;j++) pWrite(F[j]); 530 //PrintLn(); 530 531 if (currQuotient==NULL) 531 532 pairs=(polyset)omAlloc0(Fl*sizeof(poly)); … … 865 866 tHomog hom=(tHomog)idHomModule(arg,NULL,&w); 866 867 ring origR = currRing; 867 ring syRing =NULL;868 ring syRing = NULL; 868 869 869 870 if ((!isMonomial) && syTestOrder(arg)) … … 889 890 res=newres; 890 891 } 892 891 893 if ((hom==isHomog)|| (rHasGlobalOrdering(origR))) 892 894 { 893 895 if (syzIndex==0) syInitSort(res[0],&modcomp); 896 894 897 if ((syzIndex==0) && !rRing_has_CompLastBlock(currRing)) 895 898 res[syzIndex+1] = sySchreyersSyzygiesFB(res[syzIndex],&modcomp,mW,FALSE); 896 899 else 897 900 res[syzIndex+1] = sySchreyersSyzygiesFB(res[syzIndex],&modcomp,mW); 901 898 902 mW = res[syzIndex]; 899 903 } … … 966 970 syzIndex++; 967 971 } 968 j = 0; 969 while (currRing->order[j]!=0) j++; 972 // j = 0; while (currRing->order[j]!=0) j++; // What was this for???! 970 973 rKill(syRing); 971 974 }
Note: See TracChangeset
for help on using the changeset viewer.