Changeset 517530 in git for factory/fac_ezgcd.cc


Ignore:
Timestamp:
May 7, 2012, 5:34:51 PM (11 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
dccd6db99cc44c93669e843ddb6e06d2682769b8
Parents:
e7676af1109530ff2efd9495bfdb0fa2cedc576a
Message:
fix: issues with building factory without NTL
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/fac_ezgcd.cc

    re7676a r517530  
    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.