Changeset f4365f in git for factory


Ignore:
Timestamp:
Jun 23, 2014, 2:49:07 PM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
949793687548f95943c5a7e30247ef88cc844168
Parents:
1d31b9ab5a347fc7dbdd63db34ebb73ef85f23f2
git-author:
Martin Lee <martinlee84@web.de>2014-06-23 14:49:07+02:00
git-committer:
Martin Lee <martinlee84@web.de>2014-06-24 12:06:06+02:00
Message:
fix: compilation without NTL
Location:
factory
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • factory/cfEzgcd.cc

    r1d31b9 rf4365f  
    789789}
    790790
     791#ifdef HAVE_NTL
    791792static inline
    792793int Hensel_P (const CanonicalForm & UU, CFArray & G, const Evaluation & AA,
     
    14911492  return N (d*cand);
    14921493}
    1493 
     1494#endif
     1495
  • factory/cfGcdUtil.cc

    r1d31b9 rf4365f  
    55#include "cf_reval.h"
    66#include "cf_util.h"
     7#include "cf_iter.h"
    78#include "gfops.h"
    89#include "cf_map_ext.h"
  • factory/cfUnivarGcd.cc

    r1d31b9 rf4365f  
    11#include "config.h"
     2
     3#include "debug.h"
     4
     5#include "cf_algorithm.h"
     6#include "templates/ftmpl_functions.h"
     7#include "cf_primes.h"
     8#include "cfGcdUtil.h"
    29
    310#ifdef HAVE_NTL
  • factory/cf_gcd.cc

    r1d31b9 rf4365f  
    125125    if ( isOn( SW_USE_EZGCD ) )
    126126      fc= ezgcd (fc, gc);
     127#ifdef HAVE_NTL
    127128    else if (isOn(SW_USE_CHINREM_GCD))
    128129      fc = modGCDZ( fc, gc);
     130#endif
    129131    else
    130132    {
  • factory/cf_irred.cc

    r1d31b9 rf4365f  
    3636}
    3737
     38#ifdef HAVE_NTL
    3839/// computes a random monic irreducible univariate polynomial in x over Fp of
    3940/// degree i via NTL
     
    5354  return CFirredpoly;
    5455}
     56#endif
  • factory/facAlgFuncUtil.cc

    r1d31b9 rf4365f  
    9090generateMipo (int degOfExt)
    9191{
     92#ifndef HAVE_NTL
     93  FFRandom gen;
     94  return find_irreducible (degOfExt, gen, Variable (1));
     95#else
    9296  return randomIrredpoly (degOfExt, Variable (1));
     97#endif
    9398}
    9499
Note: See TracChangeset for help on using the changeset viewer.