Changeset afbebe in git for factory/facFqFactorize.cc


Ignore:
Timestamp:
Oct 9, 2012, 11:11:29 AM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
a25f7a7df8cf584f3b2fa702cf106448e9ceced5
Parents:
becbea965e6c5de8e8ab195c7f480cabc295ac0c
git-author:
Martin Lee <martinlee84@web.de>2012-10-09 11:11:29+02:00
git-committer:
Martin Lee <martinlee84@web.de>2012-10-24 12:26:22+02:00
Message:
chg: deleted some unused code
chg: joined precomputeLeadingCoeff from facFactorize.cc and facFqFactorize.cc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facFqFactorize.cc

    rbecbea rafbebe  
    13271327
    13281328  CanonicalForm F= G;
    1329   CFFList sqrfFactorization= squarefreeFactorization (F, alpha);
     1329  CFFList sqrfFactorization;
     1330  if (getCharacteristic() > 0)
     1331    sqrfFactorization= squarefreeFactorization (F, alpha);
     1332  else
     1333    sqrfFactorization= sqrFree (F);
    13301334
    13311335  sqrfPartF= 1;
     
    13481352  {
    13491353    tmp= 1;
    1350     sqrfFactors= squarefreeFactorization (i.getItem(), alpha);
     1354    if (getCharacteristic() > 0)
     1355      sqrfFactors= squarefreeFactorization (i.getItem(), alpha);
     1356    else
     1357      sqrfFactors= sqrFree (i.getItem());
    13511358
    13521359    for (iter= sqrfFactors; iter.hasItem(); iter++)
Note: See TracChangeset for help on using the changeset viewer.