Changeset 8e452c9 in git


Ignore:
Timestamp:
Aug 15, 2012, 3:01:26 PM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '96ce329119711a2b80858c8365abd29f8460bbfa')
Children:
c7b56e2b570482a60737ec1d6e4bf209156c36fa
Parents:
8d2c116a855f5479558e951ec926b7e92a2c0ac0
git-author:
Martin Lee <martinlee84@web.de>2012-08-15 15:01:26+02:00
git-committer:
Martin Lee <martinlee84@web.de>2012-09-04 18:01:17+02:00
Message:
chg: distribute content in precomputeLeadingCoeff
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facFactorize.cc

    r8d2c11 r8e452c9  
    413413          result.append (LCF);
    414414          for (int j= 1; j <= factors.length(); j++)
    415             result.append (LCF);
     415            result.append (1);
     416          result= distributeContent (result, differentSecondVarLCs, length);
     417          if (!result.getFirst().inCoeffDomain())
     418          {
     419            CFListIterator iter= result;
     420            CanonicalForm tmp= iter.getItem();
     421            iter++;
     422            for (; iter.hasItem(); iter++)
     423              iter.getItem() *= tmp;
     424          }
     425
    416426          y= Variable (1);
    417427          delete [] bufSqrfFactors;
Note: See TracChangeset for help on using the changeset viewer.