Changeset 327d41 in git
- Timestamp:
- Jul 25, 2011, 5:28:06 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 630dad1a4f9f6b630b4dcfa05851a5869b7fe25b
- Parents:
- aef70f76c5e0aef2ebdc9ad5da55a5e309d3bef4
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-07-25 17:28:06+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:53:33+01:00
- Location:
- kernel
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/gr_kstd2.cc
raef70f7 r327d41 1014 1014 else 1015 1015 strat->initEcartPair = initEcartPairBba; 1016 strat->kIdeal = NULL; 1017 //if (strat->ak==0) strat->kIdeal->rtyp=IDEAL_CMD; 1018 //else strat->kIdeal->rtyp=MODUL_CMD; 1019 //strat->kIdeal->data=(void *)strat->Shdl; 1020 if ((TEST_OPT_WEIGHTM)&&(F!=NULL)) 1021 { 1022 //interred machen Aenderung 1023 pFDegOld=pFDeg; 1024 pLDegOld=pLDeg; 1025 // h=ggetid("ecart"); 1026 // if ((h!=NULL) && (IDTYP(h)==INTVEC_CMD)) 1027 // { 1028 // ecartWeights=iv2array(IDINTVEC(h)); 1029 // } 1030 // else 1031 { 1032 ecartWeights=(short *)omAlloc(((currRing->N)+1)*sizeof(short)); 1033 /*uses automatic computation of the ecartWeights to set them*/ 1034 kEcartWeights(F->m,IDELEMS(F)-1,ecartWeights); 1035 } 1036 pFDeg=totaldegreeWecart; 1037 pLDeg=maxdegreeWecart; 1038 for(i=1; i<=(currRing->N); i++) 1039 Print(" %d",ecartWeights[i]); 1040 PrintLn(); 1041 mflush(); 1042 } 1016 // if ((TEST_OPT_WEIGHTM)&&(F!=NULL)) 1017 // { 1018 // //interred machen Aenderung 1019 // pFDegOld=pFDeg; 1020 // pLDegOld=pLDeg; 1021 // // h=ggetid("ecart"); 1022 // // if ((h!=NULL) && (IDTYP(h)==INTVEC_CMD)) 1023 // // { 1024 // // ecartWeights=iv2array(IDINTVEC(h)); 1025 // // } 1026 // // else 1027 // { 1028 // ecartWeights=(short *)omAlloc(((currRing->N)+1)*sizeof(short)); 1029 // /*uses automatic computation of the ecartWeights to set them*/ 1030 // kEcartWeights(F->m,IDELEMS(F)-1,ecartWeights); 1031 // } 1032 // pFDeg=totaldegreeWecart; 1033 // pLDeg=maxdegreeWecart; 1034 // for(i=1; i<=(currRing->N); i++) 1035 // Print(" %d",ecartWeights[i]); 1036 // PrintLn(); 1037 // mflush(); 1038 // } 1043 1039 } 1044 1040 -
kernel/kstd1.cc
raef70f7 r327d41 516 516 if (p_LmShortDivisibleBy(strat->T[j].GetLmTailRing(), strat->sevT[j], H.GetLmTailRing(), not_sev, strat->tailRing)) 517 517 { 518 //if (strat->interpt) test_int_std(strat->kIdeal);519 518 /*- remember the found T-poly -*/ 520 519 poly pi = strat->T[j].p; … … 1077 1076 else 1078 1077 strat->initEcartPair = initEcartPairBba; 1079 strat->kIdeal = NULL;1080 //if (strat->ak==0) strat->kIdeal->rtyp=IDEAL_CMD;1081 //else strat->kIdeal->rtyp=MODUL_CMD;1082 //strat->kIdeal->data=(void *)strat->Shdl;1083 1078 // if ((TEST_OPT_WEIGHTM)&&(F!=NULL)) 1084 1079 // { … … 1246 1241 #endif 1247 1242 if (lrmax< strat->Ll) lrmax=strat->Ll; /*stat*/ 1248 //test_int_std(strat->kIdeal);1249 1243 #ifdef KDEBUG 1250 1244 if (TEST_OPT_DEBUG) messageSets(strat); -
kernel/kstd2.cc
raef70f7 r327d41 1983 1983 else 1984 1984 strat->initEcartPair = initEcartPairBba; 1985 strat->kIdeal = NULL;1986 //if (strat->ak==0) strat->kIdeal->rtyp=IDEAL_CMD;1987 //else strat->kIdeal->rtyp=MODUL_CMD;1988 //strat->kIdeal->data=(void *)strat->Shdl;1989 1985 // if ((TEST_OPT_WEIGHTM)&&(F!=NULL)) 1990 1986 // { -
kernel/kstdfac.cc
raef70f7 r327d41 205 205 memcpy(s->NotUsedAxis,o->NotUsedAxis,currRing->N*sizeof(BOOLEAN)); 206 206 } 207 s->kIdeal=NULL;208 207 //s->P=s->L[s->Ll+1]; 209 208 s->P.Init(o->tailRing); … … 327 326 for (si=strat->sl; si>0; si--) 328 327 { 329 //if (strat->interpt) test_int_std(strat->kIdeal);330 328 strat->S[si] = redtailBba(strat->S[si],si-1,strat); 331 329 if (TEST_OPT_INTSTRATEGY) … … 564 562 if (strat->Ll > lrmax) lrmax =strat->Ll;/*stat.*/ 565 563 if (TEST_OPT_DEBUG) messageSets(strat); 566 //test_int_std(strat->kIdeal);567 564 if (strat->Ll== 0) strat->interpt=TRUE; 568 565 if (TEST_OPT_DEGBOUND -
kernel/kutil.cc
raef70f7 r327d41 5966 5966 // /*Shdl=*/initS(F, Q,strat); /*sets also S, ecartS, fromQ */ 5967 5967 } 5968 strat->kIdeal = NULL;5969 5968 strat->fromT = FALSE; 5970 5969 strat->noTailReduction = !TEST_OPT_REDTAIL; … … 5993 5992 pLmDelete(&strat->tail); 5994 5993 strat->syzComp=0; 5995 if (strat->kIdeal!=NULL)5996 {5997 omFreeBin(strat->kIdeal, sleftv_bin);5998 strat->kIdeal=NULL;5999 }6000 5994 } 6001 5995 … … 6972 6966 // /*Shdl=*/initS(F, Q,strat); /*sets also S, ecartS, fromQ */ 6973 6967 } 6974 strat->kIdeal = NULL;6975 6968 strat->fromT = FALSE; 6976 6969 strat->noTailReduction = !TEST_OPT_REDTAIL; -
kernel/kutil.h
raef70f7 r327d41 289 289 BOOLEAN * pairtest;/*used for enterOnePair*/ 290 290 poly tail; 291 leftv kIdeal;292 291 intvec * kModW; 293 292 intvec * kHomW; -
kernel/mod2.h
raef70f7 r327d41 73 73 /* SIZEOF_LONG == SIZEOF_VOIDP is guaranteed by configure */ 74 74 #define ALIGN_8 75 #define LOG_SIZEOF_LONG 376 #define LOG_SIZEOF_VOIDP 377 #else78 #define LOG_SIZEOF_LONG 279 #define LOG_SIZEOF_VOIDP 280 75 #endif 81 76
Note: See TracChangeset
for help on using the changeset viewer.