Changeset fc7902 in git


Ignore:
Timestamp:
Apr 28, 2011, 2:54:39 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '4188d308699580d975efd0f6cca8dcb41c396f70')
Children:
a76d93d8ebb2031b4f3e67a2e79ff69e0a549ec2
Parents:
afb23d35959b14b40779d0ed3c76340d0284df4c
Message:
removed some unsed variables, unused debug stuff


git-svn-id: file:///usr/local/Singular/svn/trunk@14187 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
kernel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/ideals.cc

    rafb23d rfc7902  
    5151* initialise an ideal
    5252*/
    53 #ifdef PDEBUG
    54 ideal idDBInit(int idsize, int rank, const char *f, int l)
    55 #else
    5653ideal idInit(int idsize, int rank)
    57 #endif
    5854{
    5955  /*- initialise an ideal -*/
     
    393389* copy an ideal
    394390*/
    395 #ifdef PDEBUG
    396 ideal idDBCopy(ideal h1,const char *f,int l)
    397 {
    398   int i;
    399   ideal h2;
    400 
    401   idDBTest(h1,PDEBUG,f,l);
    402 //#ifdef TEST
    403   if (h1 == NULL)
    404   {
    405     h2=idDBInit(1,1,f,l);
    406   }
    407   else
    408 //#endif
    409   {
    410     h2=idDBInit(IDELEMS(h1),h1->rank,f,l);
    411     for (i=IDELEMS(h1)-1; i>=0; i--)
    412       h2->m[i] = pCopy(h1->m[i]);
    413   }
    414   return h2;
    415 }
    416 #endif
    417391
    418392ideal id_Copy (ideal h1, const ring r)
     
    39483922  int rk_arg=arg->rank; //idRankFreeModule(arg);
    39493923  int * componentIsUsed =(int *)omAlloc((rk_arg+1)*sizeof(int));
    3950   poly p,q;
     3924  poly p;
    39513925
    39523926  while ((generator<0) && (i<IDELEMS(arg)))
  • kernel/ideals.h

    rafb23d rfc7902  
    4646extern omBin sip_sideal_bin;
    4747
    48 #ifdef PDEBUG
    49 ideal idDBInit (int size, int rank, const char *f, int l);
    50 #define idInit(A,B) idDBInit(A,B,__FILE__,__LINE__)
    51 #else
    5248/*- creates an ideal -*/
    5349ideal idInit (int size, int rank=1);
    54 #endif
    5550ideal idCopyFirstK (const ideal ide, const int k);
    5651
     
    9792
    9893ideal id_Copy (ideal h1,const ring r);
    99 #ifdef PDEBUG
    100 ideal idDBCopy(ideal h1,const char *f,int l);
    101 #define idCopy(A) idDBCopy(A,__FILE__,__LINE__)
    102 #else
    10394#define idCopy(A) id_Copy(A,currRing)
    104 #endif
    10595  /*adds two ideals without simplifying the result*/
    10696ideal idSimpleAdd (ideal h1,ideal h2);
  • kernel/p_ShallowCopyDelete__T.cc

    rafb23d rfc7902  
    2020  spolyrec dp;
    2121  poly d_p = &dp;
    22   unsigned long* s_e;
    2322  poly h;
    2423
Note: See TracChangeset for help on using the changeset viewer.