Changeset ae3775 in git
- Timestamp:
- Dec 20, 2011, 1:49:30 AM (11 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- 7cb55903f606ba30490caea7d1b11dd71bfeb340
- Parents:
- 7e8c9ef034b643eea4e3a9dfb0885856e6d1a5eb
- git-author:
- Martin Lee <martinlee84@web.de>2011-12-20 00:49:30+00:00
- git-committer:
- Martin Lee <martinlee84@web.de>2012-04-04 14:42:24+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cf_factor.cc
r7e8c9e rae3775 40 40 41 41 #include <factory/cf_gmp.h> 42 #ifdef HAVE_FLINT 43 #include "FLINTconvert.h" 44 #endif 42 45 43 46 int getExp(); /* cf_char.cc */ … … 430 433 if (f.isUnivariate()) 431 434 { 432 #ifdef HAVE_NTL 435 #ifdef HAVE_FLINT 436 nmod_poly_t f1; 437 convertFacCF2nmod_poly_t (f1, f); 438 nmod_poly_factor_t result; 439 nmod_poly_factor_init (result); 440 mp_limb_t leadingCoeff= nmod_poly_factor (result, f1); 441 F= convertFLINTnmod_poly_factor2FacCFFList (result, leadingCoeff, f.mvar()); 442 nmod_poly_factor_clear (result); 443 #else ifdef HAVE_NTL 433 444 if (isOn(SW_USE_NTL) && (isPurePoly(f))) 434 445 {
Note: See TracChangeset
for help on using the changeset viewer.