Changeset 2a38d90 in git
- Timestamp:
- Aug 3, 2011, 6:46:30 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- 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
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/fglmhom.cc
raf223b0 r2a38d90 426 426 } 427 427 428 ideal 429 fglmhomProc(leftv first, leftv second) 428 /* ideal fglmhomProc(leftv first, leftv second) // TODO: Move to Singular/ 430 429 { 431 430 idhdl dest= currRingHdl; … … 441 440 442 441 return( result ); 443 } 442 } */ 444 443 445 444 #endif -
kernel/ideals.h
raf223b0 r2a38d90 63 63 void idDBTest(ideal h1, int level, const char *f,const int l); 64 64 #define idTest(A) idDBTest(A, PDEBUG, __FILE__,__LINE__) 65 #define idPrint(id) idShow(id )65 #define idPrint(id) idShow(id, currRing, currRing) 66 66 #else 67 67 #define idTest(A) (TRUE) … … 193 193 194 194 ideal id_TensorModuleMult(const int m, const ideal M, const ring rRing); // image of certain map for BGG 195 196 #ifdef PDEBUG197 /* Shows an ideal -- only for debugging */198 void idShow(const ideal id, const ring lmRing, const ring tailRing, const int debugPrint = 0);199 #else200 #define idShow(id, lmRing, tailRing, debugPrint) ((void)0)201 195 #endif 202 #endif -
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 } -
libpolys/polys/polys.h
raf223b0 r2a38d90 263 263 264 264 #define pDivide(a,b) p_Divide(a,b,currRing) 265 #define pDivideM(a,b) p_DivideM(a,b,currRing) 265 266 #define pLcm(a,b,m) p_Lcm(a,b,m,currRing) 266 267 #define pDiff(a,b) p_Diff(a,b,currRing) -
libpolys/polys/simpleideals.h
raf223b0 r2a38d90 125 125 int idGetNumberOfChoise(int t, int d, int begin, int end, int * choise); 126 126 127 #ifdef PDEBUG 128 void idShow(const ideal id, const ring lmRing, const ring tailRing, const int debugPrint = 0); 127 129 #endif 130 131 132 #endif
Note: See TracChangeset
for help on using the changeset viewer.