Changeset c8fff0 in git


Ignore:
Timestamp:
Aug 8, 2012, 3:12:31 PM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '96ce329119711a2b80858c8365abd29f8460bbfa')
Children:
753fb61884c6abc19a0e2946634f9ba421916db8
Parents:
9dacf3fc1a86640d078f35f69633d316bd6e6f96
git-author:
Martin Lee <martinlee84@web.de>2012-08-08 15:12:31+02:00
git-committer:
Martin Lee <martinlee84@web.de>2012-09-04 18:01:16+02:00
Message:
chg: avoid non zero components in evaluation point if evaluation point!=0
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facFactorize.cc

    r9dacf3f rc8fff0  
    4040
    4141  bool found= false;
     42  bool allZero= true;
     43  bool foundZero= false;
    4244  CanonicalForm deriv_x, gcd_deriv;
    4345  CFListIterator iter;
     
    5052      eval.insert (eval.getFirst()( E [i], i));
    5153      result.append (E[i]);
     54      if (!E[i].isZero())
     55        allZero= false;
     56      else
     57        foundZero= true;
     58      if (!allZero && foundZero)
     59      {
     60        result= CFList();
     61        eval= CFList();
     62        bad= true;
     63        foundZero= false;
     64        break;
     65      }
    5266      if (degree (eval.getFirst(), i - 1) != degree (F, i - 1))
    5367      {
Note: See TracChangeset for help on using the changeset viewer.