Changeset 9bb5457 in git for libpolys/polys/monomials


Ignore:
Timestamp:
May 27, 2011, 2:56:51 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
2c7f28850c274452c6d4f324225864e2331412ed
Parents:
7af488ec51790060979537b35a03fb345e053f90
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-05-27 14:56:51+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:39:06+01:00
Message:
fixed warning about unused paramaters in coeffs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/monomials/ring.cc

    r7af488e r9bb5457  
    22112211
    22122212static void rO_ISPrefix(int &place, int &bitplace, int &prev_ord,
    2213     long *o, int N, int *v, sro_ord &ord_struct)
     2213    long *o, int /*N*/, int *v, sro_ord &ord_struct)
    22142214{
    22152215  if ((prev_ord== 1) || (bitplace!=BITS_PER_LONG))
     
    39293929      pFDeg_CASE(p_WTotaldegree); else
    39303930      pFDeg_CASE(p_Deg); else
    3931       Print("(%p)", r->pFDeg); // default case
     3931      Print("(%p)", (void*)(r->pFDeg)); // default case
    39323932
    39333933    PrintS("\n");
     
    48984898  return size;
    48994899}
    4900 //static int rReallocM1(ring r, ring src, int size, int pos)
    4901 //{
    4902 //  r->order=(int*)omReallocSize(r->order, size*sizeof(int), (size-1)*sizeof(int));
    4903 //  r->block0=(int*)omReallocSize(r->block0, size*sizeof(int), (size-1)*sizeof(int));
    4904 //  r->block1=(int*)omReallocSize(r->block1, size*sizeof(int), (size-1)*sizeof(int));
    4905 //  r->wvhdl=(int **)omReallocSize(r->wvhdl,size*sizeof(int *), (size-1)*sizeof(int *));
    4906 //  for(int k=pos+1; k<size; k++) r->wvhdl[k]=r->wvhdl[k+1];
    4907 //  size--;
    4908 //  return size;
    4909 //}
     4900#if 0 // currently unused
     4901static int rReallocM1(ring r, int size, int pos)
     4902{
     4903  r->order=(int*)omReallocSize(r->order, size*sizeof(int), (size-1)*sizeof(int));
     4904  r->block0=(int*)omReallocSize(r->block0, size*sizeof(int), (size-1)*sizeof(int));
     4905  r->block1=(int*)omReallocSize(r->block1, size*sizeof(int), (size-1)*sizeof(int));
     4906  r->wvhdl=(int **)omReallocSize(r->wvhdl,size*sizeof(int *), (size-1)*sizeof(int *));
     4907  for(int k=pos+1; k<size; k++) r->wvhdl[k]=r->wvhdl[k+1];
     4908  size--;
     4909  return size;
     4910}
     4911#endif
    49104912static void rOppWeight(int *w, int l)
    49114913{
     
    51235125          r->order[j]=ringorder_wp;
    51245126          i++;
    5125           //l=rReallocM1(r,src,l,j);
     5127          //l=rReallocM1(r,l,j);
    51265128        }
    51275129        else
Note: See TracChangeset for help on using the changeset viewer.