Changeset df3eef in git


Ignore:
Timestamp:
Mar 12, 2014, 1:59:54 PM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
83c377c9dc46bf696c522964c311d76f58c070c2
Parents:
0aa5d5341e6004e6426fabd0fb0a1f19f6bd7eb4
git-author:
Martin Lee <martinlee84@web.de>2014-03-12 13:59:54+01:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2014-03-17 18:31:54+01:00
Message:
chg: remove first factor only if it's constant
File:
1 edited

Legend:

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

    r0aa5d5 rdf3eef  
    158158        testlist= factorize(R);
    159159      DEBOUTLN(CERR, "testlist= ", testlist);
    160       testlist.removeFirst();
     160      if (testlist.getFirst().factor().inCoeffDomain())
     161        testlist.removeFirst();
    161162      sqfreetest=1;
    162163      for ( i=testlist; i.hasItem(); i++)
     
    232233        testlist= factorize(R);
    233234      DEBOUTLN(CERR, "testlist= ", testlist);
    234       testlist.removeFirst();
     235      if (testlist.getFirst().factor().inCoeffDomain())
     236        testlist.removeFirst();
    235237      sqfreetest=1;
    236238      for ( i=testlist; i.hasItem(); i++)
Note: See TracChangeset for help on using the changeset viewer.