Changeset dd9c12 in git
- Timestamp:
- Jun 29, 2020, 12:24:57 PM (3 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 168e13c73f575fd0acbcbd8dece921aaacd1abe5
- Parents:
- 0f95c483ff5e4a2f95f1ebaeba9d6b7886139326
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cf_map_ext.cc
r0f95c48 rdd9c12 352 352 int d= degree (mipo); 353 353 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) 355 358 if (fac_NTL_char != p) 356 359 { … … 367 370 { 368 371 #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)); 374 374 #elif defined(HAVE_NTL) 375 375 BuildIrred (NTL_mipo, d); … … 387 387 } while (1); 388 388 #ifdef HAVE_FLINT 389 nmod_poly_clear(FLINT_mipo); 389 390 // convert alpha_mipo 390 391 nmod_poly_t alpha_mipo;
Note: See TracChangeset
for help on using the changeset viewer.