Changeset 39ed94 in git for factory


Ignore:
Timestamp:
Jul 22, 2014, 6:10:15 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b9f50b373314e74e83c7c060a651dd2913e1f033')
Children:
9b12fce7c95d67f341f77b707e33138c8df5ba74
Parents:
cc16f03d558b50b0724f4d7bbac2f7df23d805921936fb556581f3c446e8ec8cb14b9081d4aa5d27
Message:
Merge pull request #621 from mmklee/nontl

fix: compilation without NTL
Location:
factory
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • factory/cfModResultant.cc

    rcc16f0 r39ed94  
    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 r39ed94  
    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 r39ed94  
    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.