Changeset 6ae00c in git


Ignore:
Timestamp:
Jul 30, 2014, 3:02:05 PM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '8a337797cc4177aa8747d661d5c4214ea2095dac')
Children:
691e55d8cf70f06cc30101ba50e5d31031c5f3a8
Parents:
aebdf8dc58be3e9fbab7894765dd4d30eaa475eb
git-author:
Martin Lee <martinlee84@web.de>2014-07-30 15:02:05+02:00
git-committer:
Martin Lee <martinlee84@web.de>2014-07-31 12:08:29+02:00
Message:
fix: use Prem instead of reduce
Location:
factory
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • factory/facAlgFunc.cc

    raebdf8 r6ae00c  
    384384        numinv= QuasiInverse (tmp.getFirst(), LC (h), tmp.getFirst().mvar());
    385385        h *= numinv;
    386         h= reduce (h, tmp.getFirst());
     386        h= Prem (h, tmp);
    387387        deninv= LC(h);
    388388
     
    516516      if (normFactors.getFirst().factor().inCoeffDomain())
    517517        normFactors.removeFirst();
    518       if (normFactors.length() == 1 && normFactors.getLast().exp() == 1)
     518      if (normFactors.length() < 1 || (normFactors.length() == 1 && normFactors.getLast().exp() == 1))
    519519      {
    520520        f= backSubst (f, backSubsts, Astar);
     
    538538          {
    539539            fnew= fnew (g.mvar() + s*Rstar.mvar(), g.mvar());
    540             fnew= reduce (fnew, Rstar);
     540            fnew= Prem (fnew, CFList (Rstar));
    541541          }
    542542
  • factory/facAlgFuncUtil.cc

    raebdf8 r6ae00c  
    184184    }
    185185  }
    186   result= reduce (result, Rstar);
     186  result= Prem (result, CFList (Rstar));
    187187  result /= vcontent (result, Variable (Rstar.level() + 1));
    188188  return result;
Note: See TracChangeset for help on using the changeset viewer.