Changeset 95a3f2 in git


Ignore:
Timestamp:
Sep 3, 2012, 11:39:57 AM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'ad2543eab51733612ba7d118afc77edca719600e')
Children:
f7e9c67cb4e8170fbee30198fd067c7aaee098fc
Parents:
b4fef8de8a397ddb21de9217208624b4d6964c90
git-author:
Martin Lee <martinlee84@web.de>2012-09-03 11:39:57+02:00
git-committer:
Martin Lee <martinlee84@web.de>2012-09-05 15:00:02+02:00
Message:
chg: pass to extension if field is small
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facFqFactorize.cc

    rb4fef8 r95a3f2  
    716716  GFRandom genGF;
    717717  int p= getCharacteristic ();
    718   if (p < CHAR_THRESHOLD && !GF && alpha.level() == 1)
    719   {
    720     fail= true;
    721     return CFList();
     718  if (p < CHAR_THRESHOLD)
     719  {
     720    if (!GF && alpha.level() == 1)
     721    {
     722      fail= true;
     723      return CFList();
     724    }
     725    else if (!GF && alpha.level() != 1)
     726    {
     727      if ((p == 2 && degree (getMipo (alpha)) < 6) ||
     728          (p == 3 && degree (getMipo (alpha)) < 4) ||
     729          (p == 5 && degree (getMipo (alpha)) < 3))
     730      {
     731        fail= true;
     732        return CFList();
     733      }
     734    }
    722735  }
    723736  double bound;
Note: See TracChangeset for help on using the changeset viewer.