Changeset 7453b4 in git for factory/cf_chinese.cc


Ignore:
Timestamp:
Jan 27, 2012, 2:50:24 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
f3cdf9e5f707acda78af0e21e064d4b843c72a1a
Parents:
5e17976a905ed4b96978d782901ce629d68cadb7
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2012-01-27 14:50:24+01:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2012-01-27 14:51:08+01:00
Message:
chg: farey changes from master
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_chinese.cc

    r5e1797 r7453b4  
    198198    CanonicalForm c;
    199199    CFIterator i;
     200#ifdef HAVE_NTL
     201    ZZ NTLq= convertFacCF2NTLZZ (q);
     202    ZZ bound;
     203    SqrRoot (bound, NTLq/2);
     204#endif
    200205    for ( i = f; i.hasTerms(); i++ )
    201206    {
     
    210215            if (lessZero)
    211216              NTL::negate (NTLc, NTLc);
    212             ZZ NTLq= convertFacCF2NTLZZ (q);
    213             ZZ bound;
    214             SqrRoot (bound, NTLq/2);
    215217            ZZ NTLnum, NTLden;
    216218            if (ReconstructRational (NTLnum, NTLden, NTLc, NTLq, bound, bound))
Note: See TracChangeset for help on using the changeset viewer.