Changeset 96d5052 in git


Ignore:
Timestamp:
Nov 27, 2012, 10:27:27 AM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
e23e9c874091d7a0a8a96c8b8bb4e1b069f1aedc
Parents:
6fcddc9d1ce61bb4b060ffc6ead86cd70694c9a8
git-author:
Martin Lee <martinlee84@web.de>2012-11-27 10:27:27+01:00
git-committer:
Martin Lee <martinlee84@web.de>2012-11-27 11:17:41+01:00
Message:
fix: prevent content from dividing out too much
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facFqBivar.cc

    r6fcddc9 r96d5052  
    591591            On (SW_RATIONAL);
    592592          g /= content (g, x);
     593          if (!isRat)
     594          {
     595            On (SW_RATIONAL);
     596            g *= bCommonDen (g);
     597            Off (SW_RATIONAL);
     598            g /= icontent (g);
     599            On (SW_RATIONAL);
     600          }
    593601          if (fdivides (g, buf, quot))
    594602          {
     
    762770            On (SW_RATIONAL);
    763771          g /= content (g, x);
     772          if (!isRat)
     773          {
     774            On (SW_RATIONAL);
     775            g *= bCommonDen (g);
     776            Off (SW_RATIONAL);
     777            g /= icontent (g);
     778            On (SW_RATIONAL);
     779          }
    764780          if (fdivides (g, buf, quot))
    765781          {
Note: See TracChangeset for help on using the changeset viewer.