Changeset 102a906 in git for libpolys


Ignore:
Timestamp:
Mar 17, 2015, 10:44:22 AM (9 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '6e5adcba05493683b94648c659a729c189812c77')
Children:
3387fdeeca96ec224aca60ee95b033d4ef78dd96a4b5a3c3edb0bc81f2e4aef388aed1244d6a322a
Parents:
bbc82531f5aed32b2ffe2b316c9185c8e10e5a25
Message:
allow compilation without NTL (report if these function are used)
Location:
libpolys/polys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/clapsing.cc

    rbbc8253 r102a906  
    16371637
    16381638#ifdef HAVE_NTL
    1639 #if 1
    16401639matrix singntl_HNF(matrix  m, const ring s )
    16411640{
     
    18371836}
    18381837
    1839 #endif
     1838#else
     1839matrix singntl_HNF(matrix  m, const ring s )
     1840{
     1841  WerrorS("NTL missing");
     1842  return NULL;
     1843}
     1844
     1845intvec* singntl_HNF(intvec*  m)
     1846{
     1847  WerrorS("NTL missing");
     1848  return NULL;
     1849}
     1850
     1851matrix singntl_LLL(matrix  m, const ring s )
     1852{
     1853  WerrorS("NTL missing");
     1854  return NULL;
     1855}
     1856
     1857intvec* singntl_LLL(intvec*  m)
     1858{
     1859  WerrorS("NTL missing");
     1860  return NULL;
     1861}
     1862
     1863ideal singclap_absFactorize ( poly f, ideal & mipos, intvec ** exps, int & numFactors, const ring r)
     1864{
     1865  WerrorS("NTL missing");
     1866  return NULL;
     1867}
     1868
    18401869#endif /* HAVE_NTL */
    18411870
  • libpolys/polys/clapsing.h

    rbbc8253 r102a906  
    4949ideal singclap_sqrfree ( poly f, intvec ** v , int with_exps, const ring r );
    5050
    51 # ifdef HAVE_NTL
    52 #  if 1
    5351matrix  singntl_HNF(matrix A, const ring r);
    5452intvec* singntl_HNF(intvec* A);
     
    5755
    5856ideal singclap_absFactorize ( poly f, ideal & mipos, intvec ** exps, int & n, const ring r);
    59 #  endif
    60 # endif
    6157
    6258 matrix singclap_irrCharSeries ( ideal I, const ring r);
Note: See TracChangeset for help on using the changeset viewer.