Changeset 1f4ed3 in git for factory/cf_factor.cc
- Timestamp:
- Dec 16, 2013, 2:41:46 PM (9 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '00e2e9c41af3fde1273eb3633f4c0c7c3db2579d')
- Children:
- 1a688bac5a4cda9259d2e3370e235dae6231fc16
- Parents:
- fc25d7148572ee90d065637f58166dac76c41c53
- git-author:
- Martin Lee <martinlee84@web.de>2013-12-16 14:41:46+01:00
- git-committer:
- Martin Lee <martinlee84@web.de>2014-01-20 16:45:03+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cf_factor.cc
rfc25d7 r1f4ed3 657 657 if (ch>2) 658 658 { 659 #if (HAVE_FLINT && __FLINT_VERSION_MINOR >= 4) 660 nmod_poly_t FLINTmipo, leadingCoeff; 661 fq_nmod_ctx_t fq_con; 662 663 nmod_poly_init (FLINTmipo, getCharacteristic()); 664 nmod_poly_init (leadingCoeff, getCharacteristic()); 665 convertFacCF2nmod_poly_t (FLINTmipo, getMipo (alpha)); 666 667 fq_nmod_ctx_init_modulus (fq_con, FLINTmipo, "Z"); 668 fq_nmod_poly_t FLINTF; 669 convertFacCF2Fq_nmod_poly_t (FLINTF, f, fq_con); 670 fq_nmod_poly_factor_t res; 671 fq_nmod_poly_factor_init (res, fq_con); 672 fq_nmod_poly_factor (res, leadingCoeff, FLINTF, fq_con); 673 F= convertFLINTFq_nmod_poly_factor2FacCFFList (res, f.mvar(), alpha, fq_con); 674 F.insert (CFFactor (Lc (f), 1)); 675 676 fq_nmod_poly_factor_clear (res, fq_con); 677 fq_nmod_poly_clear (FLINTF, fq_con); 678 nmod_poly_clear (FLINTmipo); 679 nmod_poly_clear (leadingCoeff); 680 fq_nmod_ctx_clear (fq_con); 681 #else 659 682 // First all cases with characteristic !=2 660 683 // set remainder … … 682 705 // return converted result 683 706 F=convertNTLvec_pair_zzpEX_long2FacCFFList(factors,leadcoeff,f.mvar(),alpha); 707 #endif 684 708 } 685 709 else if (/*getCharacteristic()*/ch==2)
Note: See TracChangeset
for help on using the changeset viewer.