- Timestamp:
- Oct 23, 2020, 6:11:01 PM (3 years ago)
- Branches:
- (u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
- Children:
- 4b24c1908038eb4e15e84478236d2f6eac46173c
- Parents:
- 882ae62b212bc502c8321c242be959710e5781a6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cf_factor.cc
r882ae62 r37d038 528 528 else // char p, multivariate 529 529 { 530 On (SW_RATIONAL);531 530 #if defined(HAVE_NTL) 532 531 if (issqrfree) 533 532 { 534 533 CFList factors; 534 Variable alpha; 535 535 if (CFFactory::gettype() == GaloisFieldDomain) 536 536 factors= GFSqrfFactorize (f); … … 542 542 else 543 543 { 544 Variable alpha; 544 545 if (CFFactory::gettype() == GaloisFieldDomain) 545 546 F= GFFactorize (f); … … 548 549 } 549 550 #elif defined(HAVE_FLINT) && (__FLINT_RELEASE >= 20700) 551 #if 0 550 552 nmod_mpoly_ctx_t ctx; 551 553 nmod_mpoly_ctx_init(ctx,f.level(),ORD_LEX,getCharacteristic()); … … 573 575 nmod_mpoly_clear(Flint_f,ctx); 574 576 nmod_mpoly_ctx_clear(ctx); 577 #endif 575 578 #else 576 factoryError ("multivariate factorization depends on NTL /FLINT(missing)");579 factoryError ("multivariate factorization depends on NTL(missing)"); 577 580 return CFFList (CFFactor (f, 1)); 578 581 #endif … … 683 686 fmpq_mpoly_ctx_clear(ctx); 684 687 #elif defined(HAVE_NTL) 688 On (SW_RATIONAL); 685 689 if (issqrfree) 686 690 { 687 On (SW_RATIONAL);688 691 CFList factors= ratSqrfFactorize (fz); 689 692 for (CFListIterator i= factors; i.hasItem(); i++)
Note: See TracChangeset
for help on using the changeset viewer.