Changeset f87a54f in git for factory/facFqBivar.cc
- Timestamp:
- Jun 26, 2020, 10:28:29 PM (3 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 9084a3bd47a1b5b8a96897a02c274a361e4e2c9c
- Parents:
- 03c74248d7037dfb2bedf7c2fa4b550676cb7333
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/facFqBivar.cc
r03c742 rf87a54f 800 800 Variable chooseExtension (const Variable & alpha, const Variable& beta, int k) 801 801 { 802 #if 0//#ifdef HAVE_NTL 802 #if defined(HAVE_FLINT) 803 nmod_poly_t Irredpoly; 804 nmod_poly_init(Irredpoly,getCharacteristic()); 805 #elif defined(HAVE_NTL) 803 806 if (fac_NTL_char != getCharacteristic()) 804 807 { … … 807 810 } 808 811 zz_pX NTLIrredpoly; 809 #elif defined(HAVE_FLINT)810 nmod_poly_t Irredpoly;811 nmod_poly_init(Irredpoly,getCharacteristic());812 812 #endif 813 813 int i=1, m= 2; … … 833 833 i= degree (getMipo (alpha))/m + 1; 834 834 } 835 #if 0 //#ifdef HAVE_NTL 835 #if defined(HAVE_FLINT) 836 nmod_poly_randtest_monic_irreducible(Irredpoly,FLINTrandom,i*m+1); 837 CanonicalForm newMipo= convertnmod_poly_t2FacCF(Irredpoly,Variable (1)); 838 #elif defined(HAVE_NTL) 836 839 BuildIrred (NTLIrredpoly, i*m); 837 840 CanonicalForm newMipo= convertNTLzzpX2CF (NTLIrredpoly, Variable (1)); 838 #elif defined(HAVE_FLINT)839 nmod_poly_randtest_monic_irreducible(Irredpoly,FLINTrandom,i*m+1);840 CanonicalForm newMipo= convertnmod_poly_t2FacCF(Irredpoly,Variable (1));841 841 #endif 842 842 return rootOf (newMipo);
Note: See TracChangeset
for help on using the changeset viewer.