Changeset 327d41 in git


Ignore:
Timestamp:
Jul 25, 2011, 5:28:06 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
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
Message:
removed strat->kIdeal
Location:
kernel
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • kernel/gr_kstd2.cc

    raef70f7 r327d41  
    10141014  else
    10151015    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//  }
    10431039}
    10441040
  • kernel/kstd1.cc

    raef70f7 r327d41  
    516516    if (p_LmShortDivisibleBy(strat->T[j].GetLmTailRing(), strat->sevT[j], H.GetLmTailRing(), not_sev, strat->tailRing))
    517517    {
    518       //if (strat->interpt) test_int_std(strat->kIdeal);
    519518      /*- remember the found T-poly -*/
    520519      poly pi = strat->T[j].p;
     
    10771076  else
    10781077    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;
    10831078//  if ((TEST_OPT_WEIGHTM)&&(F!=NULL))
    10841079//  {
     
    12461241#endif
    12471242    if (lrmax< strat->Ll) lrmax=strat->Ll; /*stat*/
    1248     //test_int_std(strat->kIdeal);
    12491243    #ifdef KDEBUG
    12501244    if (TEST_OPT_DEBUG) messageSets(strat);
  • kernel/kstd2.cc

    raef70f7 r327d41  
    19831983  else
    19841984    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;
    19891985//  if ((TEST_OPT_WEIGHTM)&&(F!=NULL))
    19901986//  {
  • kernel/kstdfac.cc

    raef70f7 r327d41  
    205205    memcpy(s->NotUsedAxis,o->NotUsedAxis,currRing->N*sizeof(BOOLEAN));
    206206  }
    207   s->kIdeal=NULL;
    208207  //s->P=s->L[s->Ll+1];
    209208  s->P.Init(o->tailRing);
     
    327326  for (si=strat->sl; si>0; si--)
    328327  {
    329     //if (strat->interpt) test_int_std(strat->kIdeal);
    330328    strat->S[si] = redtailBba(strat->S[si],si-1,strat);
    331329    if (TEST_OPT_INTSTRATEGY)
     
    564562    if (strat->Ll > lrmax) lrmax =strat->Ll;/*stat.*/
    565563    if (TEST_OPT_DEBUG) messageSets(strat);
    566     //test_int_std(strat->kIdeal);
    567564    if (strat->Ll== 0) strat->interpt=TRUE;
    568565    if (TEST_OPT_DEGBOUND
  • kernel/kutil.cc

    raef70f7 r327d41  
    59665966    // /*Shdl=*/initS(F, Q,strat); /*sets also S, ecartS, fromQ */
    59675967  }
    5968   strat->kIdeal = NULL;
    59695968  strat->fromT = FALSE;
    59705969  strat->noTailReduction = !TEST_OPT_REDTAIL;
     
    59935992  pLmDelete(&strat->tail);
    59945993  strat->syzComp=0;
    5995   if (strat->kIdeal!=NULL)
    5996   {
    5997     omFreeBin(strat->kIdeal, sleftv_bin);
    5998     strat->kIdeal=NULL;
    5999   }
    60005994}
    60015995
     
    69726966    // /*Shdl=*/initS(F, Q,strat); /*sets also S, ecartS, fromQ */
    69736967  }
    6974   strat->kIdeal = NULL;
    69756968  strat->fromT = FALSE;
    69766969  strat->noTailReduction = !TEST_OPT_REDTAIL;
  • kernel/kutil.h

    raef70f7 r327d41  
    289289  BOOLEAN * pairtest;/*used for enterOnePair*/
    290290  poly tail;
    291   leftv kIdeal;
    292291  intvec * kModW;
    293292  intvec * kHomW;
  • kernel/mod2.h

    raef70f7 r327d41  
    7373/* SIZEOF_LONG == SIZEOF_VOIDP is guaranteed by configure */
    7474#define ALIGN_8
    75 #define LOG_SIZEOF_LONG  3
    76 #define LOG_SIZEOF_VOIDP 3
    77 #else
    78 #define LOG_SIZEOF_LONG  2
    79 #define LOG_SIZEOF_VOIDP 2
    8075#endif
    8176
Note: See TracChangeset for help on using the changeset viewer.