Changeset deb0f60 in git


Ignore:
Timestamp:
Feb 9, 2012, 1:33:24 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
0e2e23228417d64209e60f3d18fa1bd11233839d
Parents:
3ef2d61ea9f830707a76fcbf852b171be8716d84
git-author:
Martin Lee <martinlee84@web.de>2012-02-09 13:33:24+01:00
git-committer:
Martin Lee <martinlee84@web.de>2012-04-04 14:42:25+02:00
Message:
chg: use henselLiftAndEarly from facFqBivar again in facBivar
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facBivar.cc

    r3ef2d6 rdeb0f60  
    537537  int liftBound= degree (A, y) + 1;
    538538
     539  ExtensionInfo dummy= ExtensionInfo (false);
    539540  bool earlySuccess= false;
    540541  CFList earlyFactors;
    541542  TIMING_START (fac_hensel_lift);
    542543  //out_cf ("A before= ",A, "\n");
    543   uniFactors= henselLiftAndEarly0
    544              (A, earlySuccess, earlyFactors, degs, liftBound,
    545               uniFactors, evaluation);
     544  printf ("degree (LC (A,1))= %d\n", degree (LC (A,1)));
     545  //maybe one should use a multiple of LC (A,1) and try a nonmonic lifting here?
     546  uniFactors= henselLiftAndEarly
     547              (A, earlySuccess, earlyFactors, degs, liftBound,
     548               uniFactors, dummy, evaluation);
    546549  TIMING_END_AND_PRINT (fac_hensel_lift, "time for hensel lifting: ");
    547550  DEBOUTLN (cerr, "lifted factors= " << uniFactors);
     
    552555  CanonicalForm MODl= power (y, liftBound);
    553556
    554   CanonicalForm test= prod (uniFactors);
     557  /*CanonicalForm test= prod (uniFactors);
    555558  test *= LC (A,1);
    556   test= mod (test, MODl);
     559  test= mod (test, MODl);*/
    557560  //printf ("test == A %d\n", test == A);
    558561  //out_cf ("test= ", test, "\n");
Note: See TracChangeset for help on using the changeset viewer.