Changeset dccd6d in git for factory/fac_ezgcd.cc


Ignore:
Timestamp:
May 7, 2012, 5:39:41 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
5c0bf0e51f96eb0ce4f2b693d76e67b7ab513d4eedd81896e7de840500b43eca5d7771d36a211f79
Parents:
e7676af1109530ff2efd9495bfdb0fa2cedc576a517530b37f04ee705b7b271243a265748c447cf5
Message:
Merge pull request #101 from mmklee/factory_without_ntl

fix: issues with building factory without NTL
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/fac_ezgcd.cc

    re7676a rdccd6d  
    3030#include "facHensel.h"
    3131
     32#ifdef HAVE_NTL
    3233static
    3334int compress4EZGCD (const CanonicalForm& F, const CanonicalForm& G, CFMap & M,
     
    673674  return N (d*cand);
    674675}
     676#endif
    675677
    676678CanonicalForm
    677679ezgcd ( const CanonicalForm & FF, const CanonicalForm & GG )
    678680{
     681#ifdef HAVE_NTL
    679682  REvaluation b;
    680683  return ezgcd( FF, GG, b, false );
    681 }
    682 
     684#else
     685  Off (SW_USE_EZGCD);
     686  return gcd (FF, GG);
     687  On (SW_USE_EZGCD);
     688#endif
     689}
     690
Note: See TracChangeset for help on using the changeset viewer.