Changeset 252584 in git


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

Legend:

Unmodified
Added
Removed
  • factory/facAbsFact.cc

    r7766a9 r252584  
    262262
    263263  CanonicalForm F= G;
     264
     265  CanonicalForm LcF= Lc (F);
    264266  bool isRat= isOn (SW_RATIONAL);
    265267  if (isRat)
     
    287289  }
    288290
    289   result.insert (CFAFactor (rationalFactors.getFirst().factor(), 1, 1));
     291  if (isRat)
     292    normalize (result);
     293  result.insert (CFAFactor (LcF, 1, 1));
    290294
    291295  return result;
     
    486490        // necessary since extension may be too large
    487491        if (!found)
    488         {
    489492          factors= RothsteinTrager (A, rationalFactors, v, evaluation);
    490         }
     493
    491494        decompress (factors, N);
    492495        normalize (factors);
     
    587590      if (!found)
    588591        factors= RothsteinTrager (A, rationalFactors, v, evaluation);
     592
    589593      decompress (factors, N);
    590594      normalize (factors);
Note: See TracChangeset for help on using the changeset viewer.