Changeset e29bd5 in git


Ignore:
Timestamp:
Feb 21, 2013, 5:00:03 PM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'cbf866d4f8c3861325311c042cb2033c053453b2')
Children:
448d06b6d391dca8aaf97c928c06962fb61930d8
Parents:
f48707971b394befdb9c3fce8f6366610b334e92
Message:
fix: some warnings in libfac
Location:
factory/libfac
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • factory/libfac/charset/alg_factor.cc

    rf48707 re29bd5  
    378378      // muessen wir die Nachfolger aendern, wenn s != 0 ?
    379379      DEBOUTLN(CERR, "simpleextension: g= ", g);
    380       if ( s != 0 ) DEBOUTLN(CERR, "simpleextension: s= ", s);
    381       else DEBOUTLN(CERR, "simpleextension: s= ", s);
     380      DEBOUTLN(CERR, "simpleextension: s= ", s);
    382381      DEBOUTLN(CERR, "simpleextension: R= ", R);
    383382      Returnlist.insert(s);
     
    684683  CanonicalForm Fgcd;
    685684          Fgcd= alg_gcd(f,f.deriv(),Astar);
    686   if ( Fgcd == 0 ) DEBOUTMSG(CERR, "WARNING: p'th root ?");
     685  if ( Fgcd == 0 ) {DEBOUTMSG(CERR, "WARNING: p'th root ?");}
    687686  if (( degree(Fgcd, f.mvar()) > 0) && (!(f.deriv().isZero())) ){
    688687    DEBOUTLN(CERR, "Nontrivial GCD found of ", f);
  • factory/libfac/charset/algfactor.cc

    rf48707 re29bd5  
    2929int hasVar(const CanonicalForm &f, const Variable &v);
    3030
     31/* unused functions:
    3132static CFFList
    3233myminus( const CFFList & Inputlist, const CFFactor & TheFactor){
     
    4344}
    4445
    45 /* unused functions:
    4646static CFFList
    4747myDifference(const CFFList & Inputlist1,const CFFList & Inputlist2){
  • factory/libfac/factor/Factor.cc

    rf48707 re29bd5  
    620620    {
    621621      if (Extension.level()<0)
    622       DEBOUTLN(CERR, "Univ. Factorization over extension of degree ",
    623                degree(getMipo(Extension,'x')) );
     622      {
     623        DEBOUTLN(CERR, "Univ. Factorization over extension of degree ",
     624                 degree(getMipo(Extension,'x')) );
     625      }
    624626      else
    625       DEBOUTLN(CERR, "Univ. Factorization over extension of level ??",
    626                 Extension.level());
     627      {
     628        DEBOUTLN(CERR, "Univ. Factorization over extension of level ??",
     629                 Extension.level());
     630      }
    627631      TIMING_START(evaluate_time);
    628632      Outputlist = factorize2(F,Extension,alpha);
     
    964968//           * ensuring poly is sqrfree (n.y.i.)             //
    965969///////////////////////////////////////////////////////////////
    966 static bool fdivides2(const CanonicalForm &F, const CanonicalForm &G, const CanonicalForm &minpoly)
     970/*static bool fdivides2(const CanonicalForm &F, const CanonicalForm &G, const CanonicalForm &minpoly)
    967971{
    968972  if (!minpoly.isZero())
     
    985989  else
    986990   return fdivides(F,G);
    987 }
     991}*/
    988992
    989993CFFList
  • factory/libfac/factor/MVMultiHensel.cc

    rf48707 re29bd5  
    7272    return *this;
    7373  }
    74   RememberForm() : poly(0), calculated(false) {}
     74  RememberForm() : calculated(false), poly(0) {}
    7575  Boolean calculated;
    7676  CanonicalForm poly;
Note: See TracChangeset for help on using the changeset viewer.