Changeset 3fd586 in git for factory/cfCharSets.cc


Ignore:
Timestamp:
Oct 27, 2014, 11:27:46 PM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
948667d52839562086cf444b0a31a259e43e6b41
Parents:
fd232047ac538beff058cec492e32dd13ae45248
git-author:
Martin Lee <martinlee84@web.de>2014-10-27 23:27:46+01:00
git-committer:
Martin Lee <martinlee84@web.de>2014-10-27 23:41:54+01:00
Message:
fix: also need factors of contents
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cfCharSets.cc

    rfd23204 r3fd586  
    518518  {
    519519    nr += 1;
    520     if (degree (i.getItem()) > 1)
    521     {
    522       qs= factorize (i.getItem());
    523       if (qs.getFirst().factor().inCoeffDomain())
    524         qs.removeFirst();
    525     }
    526     else
    527       qs= CFFList (CFFactor (normalize (i.getItem()), 1));
     520    qs= factorize (i.getItem());
     521    if (qs.getFirst().factor().inCoeffDomain())
     522      qs.removeFirst();
    528523
    529524    if ((qs.length() >= 2 ) || (qs.getFirst().exp() > 1))
Note: See TracChangeset for help on using the changeset viewer.