Changeset 0009d2 in git for factory


Ignore:
Timestamp:
Sep 22, 2020, 12:14:34 PM (4 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
96113da0c61c4c2fa7cd9360008b7bc558c1c7fa
Parents:
76921cc1d791e42d4153763cdd200065400fbe19
Message:
fix: handle trival case (deg<=1)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/fac_cantzass.cc

    r76921c r0009d2  
    130130CFFList distinctDegreeFactorExt ( const CanonicalForm & f, int p, int n )
    131131{
     132    Variable x = f.mvar();
     133    if (f.degree(x) <= 1) return CFFList(CFFactor(f,1));
    132134    int i;
    133     Variable x = f.mvar();
    134135    CanonicalForm g = f, h, r = x;
    135136    CFFList F;
Note: See TracChangeset for help on using the changeset viewer.