Changeset 1936fb in git for factory


Ignore:
Timestamp:
Jul 22, 2014, 5:00:36 PM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
39ed94e4ba176b9cdda63c31fb26f14e2627ad3c
Parents:
cc16f03d558b50b0724f4d7bbac2f7df23d80592
git-author:
Martin Lee <martinlee84@web.de>2014-07-22 17:00:36+02:00
git-committer:
Martin Lee <martinlee84@web.de>2014-07-22 17:13:11+02:00
Message:
fix: compilation without NTL
Location:
factory
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • factory/cfModResultant.cc

    rcc16f0 r1936fb  
    3838#endif
    3939
     40#ifdef HAVE_NTL
    4041TIMING_DEFINE_PRINT(fac_resultant_p)
    4142
     
    680681  return swapvar (result, X, x);
    681682}
    682 
     683#endif
     684
  • factory/facAlgExt.cc

    rcc16f0 r1936fb  
    6161  CanonicalForm norm;
    6262  TIMING_START (fac_alg_resultant);
     63#ifdef HAVE_NTL
    6364  if (degg >= 8 || degmipo >= 8)
    6465    norm= resultantZ (g, mipo, x);
    6566  else
     67#endif
    6668    norm= resultant (g, mipo, x);
    6769  TIMING_END_AND_PRINT (fac_alg_resultant, "time to compute resultant0: ");
     
    8385  CanonicalForm norm;
    8486  TIMING_START (fac_alg_resultant);
     87#ifdef HAVE_NTL
    8588  if (degg >= 8 || degmipo >= 8)
    8689    norm= resultantZ (g, mipo, x);
    8790  else
     91#endif
    8892    norm= resultant (g, mipo, x);
    8993  TIMING_END_AND_PRINT (fac_alg_resultant, "time to compute resultant0: ");
     
    104108        g *= bCommonDen (g);
    105109        TIMING_START (fac_alg_resultant);
     110#ifdef HAVE_NTL
    106111        if (degg >= 8 || degmipo >= 8)
    107112          norm= resultantZ (g (x, alpha), mipo, x);
    108113        else
     114#endif
    109115          norm= resultant (g (x, alpha), mipo, x);
    110116        TIMING_END_AND_PRINT (fac_alg_resultant,"time to compute resultant1: ");
     
    115121        g *= bCommonDen (g);
    116122        TIMING_START (fac_alg_resultant);
     123#ifdef HAVE_NTL
    117124        if (degg >= 8 || degmipo >= 8)
    118125          norm= resultantZ (g (x, alpha), mipo, x);
    119126        else
     127#endif
    120128          norm= resultant (g (x, alpha), mipo, x);
    121129        TIMING_END_AND_PRINT (fac_alg_resultant,"time to compute resultant2: ");
  • factory/facAlgFunc.cc

    rcc16f0 r1936fb  
    188188    Off(SW_RATIONAL);
    189189  CanonicalForm result;
     190#ifdef HAVE_NTL
    190191  if (getCharacteristic() == 0)
    191192    result= resultantZ (fz, gz,v);
    192193  else
     194#endif
    193195    result= resultant (fz,gz,v);
    194196
Note: See TracChangeset for help on using the changeset viewer.