Changeset 327d41 in git for kernel/gr_kstd2.cc


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
File:
1 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
Note: See TracChangeset for help on using the changeset viewer.