Changeset 894604 in git for factory/facFqBivar.cc


Ignore:
Timestamp:
Nov 28, 2012, 12:58:24 PM (11 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
c49e6ff67dcc4fd9d834166f973fd81fbc6cec2b
Parents:
308a766afffc51141b50332c5e1b2d3849433dce
git-author:
Martin Lee <martinlee84@web.de>2012-11-28 12:58:24+01:00
git-committer:
Martin Lee <martinlee84@web.de>2012-11-30 17:24:27+01:00
Message:
fix: wrong lifting precision in corner cases
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facFqBivar.cc

    r308a766 r894604  
    64596459    int factorsFound= 0;
    64606460    if (alpha.level() == 1 || (alpha.level() != 1 && reduceFq2Fp))
    6461       reconstructionTry (result, bufF, bufUniFactors, degree (F) + 1 + degree
    6462 #ifdef HAVE_FLINT
    6463                          (LCF), factorsFound, factorsFoundIndex, FLINTN, false
    6464 #else
    6465                          (LCF), factorsFound, factorsFoundIndex, NTLN, false
     6461      reconstructionTry (result, bufF, bufUniFactors, degree (F) + 1,
     6462#ifdef HAVE_FLINT
     6463                         factorsFound, factorsFoundIndex, FLINTN, false
     6464#else
     6465                         factorsFound, factorsFoundIndex, NTLN, false
    64666466#endif
    64676467                        );
    64686468    else
    6469       reconstructionTry (result, bufF, bufUniFactors, degree (F) + 1 + degree
    6470                          (LCF), factorsFound, factorsFoundIndex, NTLNe, false
     6469      reconstructionTry (result, bufF, bufUniFactors, degree (F) + 1,
     6470                         factorsFound, factorsFoundIndex, NTLNe, false
    64716471                        );
    64726472    if (alpha.level() == 1 || (alpha.level() != 1 && reduceFq2Fp))
     
    68956895  {
    68966896    result= Union (result, smallFactors);
    6897     CanonicalForm MODl= power (y, degree (F) + 1 + degree (LC (F, 1)));
     6897    CanonicalForm MODl= power (y, degree (F) + 1);
    68986898    delete [] bounds;
    68996899    return Union (result, factorRecombination (bufUniFactors, F, MODl, degs, 1,
     
    71487148    return Union (smallFactors, extFactorRecombination
    71497149                                (bufUniFactors, F,
    7150                                  power (y, degree (F) + 1 + degree (LCF)),info,
     7150                                 power (y, degree (F) + 1),info,
    71517151                                 degs, evaluation, 1, bufUniFactors.length()/2
    71527152                                )
     
    72017201    int factorsFound= 0;
    72027202
    7203     extReconstructionTry (result, bufF, bufUniFactors, degree (F) + 1 + degree
    7204                           (LCF), factorsFound, factorsFoundIndex, NTLN, false,
     7203    extReconstructionTry (result, bufF, bufUniFactors, degree (F) + 1,
     7204                          factorsFound, factorsFoundIndex, NTLN, false,
    72057205                          info, evaluation
    72067206                         );
     
    73977397  {
    73987398    result= Union (result, smallFactors);
    7399     CanonicalForm MODl= power (y, degree (F) + 1 + degree (LC (F, 1)));
     7399    CanonicalForm MODl= power (y, degree (F) + 1);
    74007400    delete [] bounds;
    74017401    return Union (result, extFactorRecombination (bufUniFactors, F, MODl, info,
Note: See TracChangeset for help on using the changeset viewer.