Changeset dc4782 in git for kernel


Ignore:
Timestamp:
Nov 25, 2013, 4:49:42 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
98e588265496a69b639a1e37bf39d39134a6df5f
Parents:
7bb7da5db82ebe13b1923654fb861e84c6c3ec65
Message:
chg: factory/libfac is not optional, removing HAVE_FACTORY/HAVE_LIBFAC
Location:
kernel
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • kernel/fglm.h

    r7bb7da5 rdc4782  
    1212#ifndef FGLM_H
    1313#define FGLM_H
    14 
    15 #ifdef HAVE_FACTORY
    1614
    1715#include <kernel/polys.h>
     
    8684
    8785#endif
    88 #endif
  • kernel/fglmcomb.cc

    r7bb7da5 rdc4782  
    1313#include <kernel/mod2.h>
    1414
    15 #ifdef HAVE_FACTORY
    1615#define SI_DONT_HAVE_GLOBAL_VARS
    1716#include <factory/factory.h>
     
    554553}
    555554
    556 #endif
    557555// Local Variables: ***
    558556// compile-command: "make Singular" ***
  • kernel/fglmgauss.cc

    r7bb7da5 rdc4782  
    1414#include <kernel/mod2.h>
    1515
    16 #ifdef  HAVE_FACTORY
    1716#include <kernel/structs.h>
    1817#include <coeffs/numbers.h>
     
    211210// fold-internal-margins: nil ***
    212211// End: ***
    213 #endif // HAVE_FACTORY
  • kernel/fglmvec.cc

    r7bb7da5 rdc4782  
    1717#include <kernel/mod2.h>
    1818
    19 #ifdef HAVE_FACTORY
    2019#include <omalloc/omalloc.h>
    2120#include <kernel/structs.h>
     
    532531}
    533532
    534 #endif
    535533// ----------------------------------------------------------------------------
    536534// Local Variables: ***
  • kernel/fglmzero.cc

    r7bb7da5 rdc4782  
    2424
    2525
    26 #ifdef HAVE_FACTORY
    2726// assumes, that NOSTREAMIO is set in factoryconf.h, which is included
    2827// by templates/list.h.
     
    12531252
    12541253
    1255 #endif
    1256 
    12571254// ----------------------------------------------------------------------------
    12581255// Local Variables: ***
  • kernel/ideals.cc

    r7bb7da5 rdc4782  
    23642364#include <polys/clapsing.h>
    23652365
    2366 #ifdef HAVE_FACTORY
    23672366#if 0
    23682367poly id_GCD(poly f, poly g, const ring r)
     
    23982397}
    23992398#endif
    2400 #endif
    24012399
    24022400#if 0
     
    24082406* destroys xx
    24092407*/
    2410 #ifdef HAVE_FACTORY
    24112408ideal id_ChineseRemainder(ideal *xx, number *q, int rl, const ring R)
    24122409{
     
    24682465}
    24692466#endif
    2470 #endif
    24712467/* currently unsed:
    24722468ideal idChineseRemainder(ideal *xx, intvec *iv)
  • kernel/kstdfac.cc

    r7bb7da5 rdc4782  
    2222//#include "ipshell.h"
    2323#include <misc/intvec.h>
    24 #ifdef HAVE_FACTORY
    2524#include <polys/clapsing.h>
    26 #endif
    2725#include <kernel/ideals.h>
    2826#include <kernel/timer.h>
    2927#include <kernel/kstdfac.h>
    30 
    31 #ifdef HAVE_FACTORY
    3228
    3329#ifndef NDEBUG
     
    257253  ideal fac=singclap_factorize(pCopy(p),NULL,1,currRing);
    258254  int fac_elems;
    259 #ifndef HAVE_FACTORY
    260   if (fac==NULL)
    261   {
    262     fac=idInit(1,1);
    263     fac->m[0]=pCopy(p);
    264     fac_elems=1;
    265   }
    266   else
    267 #endif
    268     fac_elems=IDELEMS(fac);
     255  fac_elems=IDELEMS(fac);
    269256  rfac=fac;
    270257  fac_copy=idInit(fac_elems,1);
     
    889876  return (strat->Shdl);
    890877}
    891 #endif
    892878
    893879ideal_list kStdfac(ideal F, ideal Q, tHomog h,intvec ** w,ideal D)
    894880{
    895 #ifdef HAVE_FACTORY
    896881  ideal r;
    897882  BOOLEAN b=currRing->pLexOrder,toReset=FALSE;
     
    10401025  if ((delete_w)&&(w!=NULL)&&(*w!=NULL)) delete *w;
    10411026  return L;
    1042 #else
    1043   return NULL;
    1044 #endif
    10451027}
  • kernel/misc.cc

    r7bb7da5 rdc4782  
    1111#include <kernel/mod2.h>
    1212
    13 #ifdef HAVE_FACTORY
    1413#define SI_DONT_HAVE_GLOBAL_VARS
    1514#  include <factory/factory.h>
    1615/* libfac version strings */
    17 #ifdef HAVE_LIBFAC
    18 //  extern const char * libfac_version;
    19 //  extern const char * libfac_date;
    20 #endif // #ifdef HAVE_LIBFAC
    21 #endif
    2216
    2317#include <coeffs/si_gmp.h>
  • kernel/test.cc

    r7bb7da5 rdc4782  
    66#include <omalloc/omalloc.h>
    77#include <misc/auxiliary.h>
    8 #ifdef HAVE_FACTORY
    98#include <factory/factory.h> // :(
    10 #endif
    119
    1210#include <misc/intvec.h>
     
    5351
    5452
    55 #ifdef HAVE_FACTORY
    5653// The following are needed due to FACTORY (e.g. initCanonicalForm)
    5754int initializeGMP(){ return 1; }
    5855int mmInit(void) {return 1; }
    59 #endif
    6056
    6157// // TODO: DUE to the use of HALT in npolygon.cc :(((
Note: See TracChangeset for help on using the changeset viewer.