Changeset 329dd3 in git


Ignore:
Timestamp:
Jun 17, 2020, 10:38:49 PM (4 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c5facdfddea2addfd91babd8b9019161dea4b695')
Children:
a75c5d55f5f22a81f3d176edfa4c64c01e1672a4
Parents:
cac0f8a0c0c0b22b71b76c3b44841f5cc1fec229
Message:
build factroy also without NTL (not so useful yet)
Location:
factory
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_factor.cc

    rcac0f8 r329dd3  
    509509    else
    510510    {
    511       #if defined(HAVE_NTL) || defined(HAVE_FLINT)
     511      #if defined(HAVE_NTL)
    512512      if (issqrfree)
    513513      {
     
    530530      }
    531531      #else
    532       ASSERT( f.isUnivariate(), "multivariate factorization depends on FLINT/NTL(missing)" );
    533       factoryError ("multivariate factorization depends on FLINT/NTL(missing)");
     532      ASSERT( f.isUnivariate(), "multivariate factorization depends on NTL(missing)" );
     533      factoryError ("multivariate factorization depends on NTL(missing)");
    534534      return CFFList (CFFactor (f, 1));
    535535      #endif
     
    619619      }
    620620      else
     621      {
     622        #ifdef HAVE_NTL
    621623        F = ratFactorize (fz);
     624        #else
     625        factoryError ("multivariate factorization over Z depends on NTL(missing)");
     626        return CFFList (CFFactor (f, 1));
     627        #endif
     628      }
    622629      Off (SW_RATIONAL);
    623630    }
     
    763770    else
    764771    {
     772      #ifdef HAVE_NTL
    765773      F= FqFactorize (f, alpha);
     774      #else
     775      factoryError ("univariate factorization  depends on NTL(missing)");
     776      return CFFList (CFFactor (f, 1));
     777      #endif
    766778    }
    767779  }
     
    774786    else //Q(a)[x1,...,xn]
    775787    {
     788      #ifdef HAVE_NTL
    776789      F= ratFactorize (f, alpha);
     790      #else
     791      factoryError ("multivariate factorization  depends on NTL(missing)");
     792      return CFFList (CFFactor (f, 1));
     793      #endif
    777794    }
    778795  }
  • factory/facMul.cc

    rcac0f8 r329dd3  
    2727#include "facMul.h"
    2828#include "cf_util.h"
     29#include "cf_iter.h"
     30#include "cf_algorithm.h"
    2931#include "templates/ftmpl_functions.h"
    3032
  • factory/facMul.h

    rcac0f8 r329dd3  
    1818#include "fac_util.h"
    1919
    20 #ifdef HAVE_NTL
    2120/// multiplication of univariate polys using FLINT/NTL over F_p, F_q, Z/p^k,
    2221/// Z/p^k[t]/(f), Z, Q, Q(a), if we are in GF factory's default multiplication
     
    175174             );
    176175#endif
    177 #endif
    178176
    179177#endif
Note: See TracChangeset for help on using the changeset viewer.