Changeset 9f73e80 in git


Ignore:
Timestamp:
May 9, 2011, 12:54:47 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '4188d308699580d975efd0f6cca8dcb41c396f70')
Children:
bbcf1d285769ac69638e4d28453a5e8c223fdaa4
Parents:
3fe9579a442aa732988c0f2c6fd500203ed4dc4d
Message:
code cleanup: removed unneeded vars

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

Legend:

Unmodified
Added
Removed
  • kernel/p_polys.cc

    r3fe957 r9f73e80  
    541541  if (r->firstwv==NULL) return p_Totaldegree(p, r);
    542542  p_LmCheckPolyRing(p, r);
    543   int i, k;
     543  int i;
    544544  long j =0;
    545545
  • kernel/polys.cc

    r3fe957 r9f73e80  
    5454void pSetGlobals(const ring r, BOOLEAN complete)
    5555{
    56   int i;
    5756  if (ppNoether!=NULL) pDelete(&ppNoether);
    5857  pVariables = r->N;
  • kernel/polys1.cc

    r3fe957 r9f73e80  
    158158{
    159159  number x, y;
    160   int i;
    161160
    162161  y = pGetCoeff(p);
     
    164163  n_Delete(&y,r);
    165164  pSetCoeff0(p,x);
    166   //for (i=pVariables; i!=0; i--)
     165  //for (int i=pVariables; i!=0; i--)
    167166  //{
    168167  //  pAddExp(p,i, pGetExp(q,i));
     
    179178{
    180179  number x;
    181   int i;
    182180  poly r = p_Init(rr);
    183181
     
    469467void pEnlargeSet(polyset *p, int l, int increment)
    470468{
    471   int i;
    472469  polyset h;
    473470
     
    14581455poly pJetW(poly p, int m, short *w)
    14591456{
    1460   poly t=NULL;
    14611457  while((p!=NULL) && (totaldegreeWecart_IV(p,currRing,w)>m)) pLmDelete(&p);
    14621458  if (p==NULL) return NULL;
     
    17121708{
    17131709  number n,nn;
    1714   int i;
    17151710  pAssume(p1 != NULL && p2 != NULL);
    17161711
Note: See TracChangeset for help on using the changeset viewer.