Changeset ff6cd3 in git


Ignore:
Timestamp:
Aug 14, 2013, 5:17:37 PM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
Children:
5c6ceaf5ab0029bc759f3ded4a97613e94d728b0
Parents:
252584af9fd5177071832c030eb4a9417734422e
git-author:
Martin Lee <martinlee84@web.de>2013-08-14 17:17:37+02:00
git-committer:
Martin Lee <martinlee84@web.de>2013-08-30 13:48:31+02:00
Message:
chg: handling of constant factor in univariate case
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facAbsBiFact.cc

    r252584 rff6cd3  
    4040  CFFList rationalFactors= factorize (F);
    4141  CFFListIterator i= rationalFactors;
     42  CanonicalForm LcF= rationalFactors.getFirst().factor();
    4243  i++;
    4344  Variable alpha;
     
    5657    iter= QaFactors;
    5758    if (iter.getItem().factor().inCoeffDomain())
     59    {
     60      LcF *= iter.getItem().factor();
    5861      iter++;
     62    }
    5963    for (;iter.hasItem(); iter++)
    6064    {
     
    6771    }
    6872  }
    69   result.insert (CFAFactor (rationalFactors.getFirst().factor(), 1, 1));
     73  result.insert (CFAFactor (LcF, 1, 1));
    7074  return result;
    7175}
Note: See TracChangeset for help on using the changeset viewer.