Ignore:
Timestamp:
Mar 10, 2014, 3:26:20 PM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'a719bcf0b8dbc648b128303a49777a094b57592c')
Children:
5f4e0e5f2f9ec9aea8d113e4a58ecbc39cf69c35
Parents:
dbcaa4dc36f3331ba9316e072d2c4c61347c0957
git-author:
Martin Lee <martinlee84@web.de>2014-03-10 15:26:20+01:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2014-03-17 18:31:54+01:00
Message:
fix: handling of SW_RATIONAL in myfitting
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/libfac/charset/csutil.cc

    rdbcaa4 rd21c2c  
    255255   else
    256256   {
    257      On(SW_RATIONAL);
     257     bool isRat= isOn (SW_RATIONAL);
     258     if (!isRat)
     259       On(SW_RATIONAL);
    258260     CanonicalForm temp= mapinto(rem);
    259261//      CERR << "temp= " << temp << "\n";
     
    290292
    291293     temp= bCommonDen(temp/lc(temp))*(temp/lc(temp));
    292      Off(SW_RATIONAL);
     294     if (!isRat)
     295       Off(SW_RATIONAL);
    293296     rem= mapinto(temp);
    294297     return rem;
Note: See TracChangeset for help on using the changeset viewer.