Changeset 96d5052 in git for factory/facFqBivar.cc


Ignore:
Timestamp:
Nov 27, 2012, 10:27:27 AM (11 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
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.