Changeset b4fbb8 in git for kernel/GBEngine/kutil.cc
- Timestamp:
- Oct 7, 2015, 2:03:45 PM (8 years ago)
- Branches:
- (u'spielwiese', 'e7cc1ebecb61be8b9ca6c18016352af89940b21a')
- Children:
- 8a14df4e24d2bd82a168c3ed70f92659b0bd2442
- Parents:
- c1c2ccdce7a50ab28491ceb066ea5faa1f7e6e87
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/kutil.cc
rc1c2ccd rb4fbb8 77 77 #endif 78 78 79 #define ADIDEBUG 179 #define ADIDEBUG 0 80 80 81 81 denominator_list DENOMINATOR_LIST=NULL; … … 1636 1636 //p_Test(m1,strat->tailRing); 1637 1637 //p_Test(m2,strat->tailRing); 1638 if(!redMoraNF)1638 /*if(!redMoraNF) 1639 1639 { 1640 1640 while (! kCheckStrongCreation(atR, m1, i, m2, strat) ) … … 1648 1648 k_GetStrongLeadTerms(p, si, currRing, m1, m2, gcd, strat->tailRing); 1649 1649 } 1650 } 1650 }*/ 1651 1651 pSetCoeff0(m1, s); 1652 1652 pSetCoeff0(m2, t); … … 1719 1719 else 1720 1720 { 1721 enterT(h, strat );1721 enterT(h, strat,strat->tl+1); 1722 1722 } 1723 1723 //#if 1 … … 4074 4074 PrintS("\nEnter superenterpairs\n"); 4075 4075 int iii = strat->Ll; 4076 printf("\nstrat->tl = %i\n",strat->tl); 4076 4077 #endif 4077 4078 assume (rField_is_Ring(currRing)); … … 4095 4096 } 4096 4097 } 4098 printf("\nstrat->tl = %i\n",strat->tl); 4097 4099 iii = strat->Ll; 4098 4100 #endif … … 4114 4116 } 4115 4117 } 4118 printf("\nstrat->tl = %i\n",strat->tl); 4116 4119 iii = strat->Ll; 4117 4120 #endif … … 4133 4136 } 4134 4137 } 4138 printf("\nstrat->tl = %i\n",strat->tl); 4135 4139 PrintS("\nEnd of superenterpairs\n"); 4136 4140 #endif 4137 4141 clearSbatch(h, k, pos, strat); 4142 #if ADIDEBUG 4143 printf("\nstrat->tl = %i\n",strat->tl); 4144 #endif 4138 4145 } 4139 4146 #endif … … 7973 7980 } 7974 7981 #endif 7975 #ifdef HAVE_RINGS 7976 if(rField_is_Ring(currRing) && !n_IsUnit(p.p->coef, currRing->cf)) 7977 { 7978 #if ADIDEBUG_NF 7979 printf("\nDas ist p:\n");pWrite(p.p); 7980 #endif 7981 for(i=strat->tl;i>=0;i--) 7982 { 7983 if(strat->T[i].ecart <= p.ecart && pLmDivisibleBy(strat->T[i].p,p.p)) 7984 { 7985 #if ADIDEBUG_NF 7986 printf("\nFound one: %i\n",i);pWrite(strat->T[i].p); 7987 #endif 7988 enterOneStrongPoly(i,p.p,p.ecart,0,strat,0 , TRUE); 7989 } 7990 } 7991 } 7992 /* 7993 printf("\nThis is T:\n"); 7994 for(i=strat->tl;i>=0;i--) 7995 { 7996 pWrite(strat->T[i].p); 7997 } 7998 //getchar();*/ 7999 #endif 7982 8000 7983 #ifdef HAVE_TAIL_RING 8001 7984 if (currRing!=strat->tailRing) … … 8036 8019 } 8037 8020 strat->T[atT] = (TObject) p; 8021 #if ADIDEBUG 8022 printf("\nenterT: add in position %i\n",atT); 8023 pWrite(p.p); 8024 #endif 8025 printf("\nenterT: neue hingefÃŒgt: lÀnge = %i, ecart = %i\n",p.length,p.ecart); 8038 8026 8039 8027 if (strat->tailRing != currRing && pNext(p.p) != NULL) … … 8047 8035 assume(p.sev == 0 || pGetShortExpVector(p.p) == p.sev); 8048 8036 strat->sevT[atT] = (p.sev == 0 ? pGetShortExpVector(p.p) : p.sev); 8037 #ifdef HAVE_RINGS 8038 if(rField_is_Ring(currRing) && !n_IsUnit(p.p->coef, currRing->cf)) 8039 { 8040 #if ADIDEBUG_NF 8041 printf("\nDas ist p:\n");pWrite(p.p); 8042 #endif 8043 for(i=strat->tl;i>=0;i--) 8044 { 8045 if(strat->T[i].ecart <= p.ecart && pLmDivisibleBy(strat->T[i].p,p.p)) 8046 { 8047 #if ADIDEBUG_NF 8048 printf("\nFound one: %i\n",i);pWrite(strat->T[i].p); 8049 #endif 8050 enterOneStrongPoly(i,p.p,p.ecart,0,strat,0 , TRUE); 8051 } 8052 } 8053 } 8054 /* 8055 printf("\nThis is T:\n"); 8056 for(i=strat->tl;i>=0;i--) 8057 { 8058 pWrite(strat->T[i].p); 8059 } 8060 //getchar();*/ 8061 #endif 8049 8062 kTest_T(&(strat->T[atT])); 8050 8063 }
Note: See TracChangeset
for help on using the changeset viewer.