Changeset dd9c12 in git for factory/cf_map_ext.cc


Ignore:
Timestamp:
Jun 29, 2020, 12:24:57 PM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
168e13c73f575fd0acbcbd8dece921aaacd1abe5
Parents:
0f95c483ff5e4a2f95f1ebaeba9d6b7886139326
Message:
factory: opt
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_map_ext.cc

    r0f95c48 rdd9c12  
    352352  int d= degree (mipo);
    353353  int p= getCharacteristic ();
    354   #if !defined(HAVE_FLINT) && defined(HAVE_NTL)
     354  #ifdef HAVE_FLINT
     355  nmod_poly_t FLINT_mipo;
     356  nmod_poly_init(FLINT_mipo,p);
     357  #elif defined(HAVE_NTL)
    355358  if (fac_NTL_char != p)
    356359  {
     
    367370  {
    368371    #ifdef HAVE_FLINT
    369     nmod_poly_t Irredpoly;
    370     nmod_poly_init(Irredpoly,p);
    371     nmod_poly_randtest_monic_irreducible(Irredpoly, FLINTrandom, d+1);
    372     mipo2=convertnmod_poly_t2FacCF(Irredpoly,Variable(1));
    373     nmod_poly_clear(Irredpoly);
     372    nmod_poly_randtest_monic_irreducible(FLINT_mipo, FLINTrandom, d+1);
     373    mipo2=convertnmod_poly_t2FacCF(FLINT_mipo,Variable(1));
    374374    #elif defined(HAVE_NTL)
    375375    BuildIrred (NTL_mipo, d);
     
    387387  } while (1);
    388388  #ifdef HAVE_FLINT
     389  nmod_poly_clear(FLINT_mipo);
    389390  // convert alpha_mipo
    390391  nmod_poly_t alpha_mipo;
Note: See TracChangeset for help on using the changeset viewer.