Changeset 9bb5457 in git for libpolys/polys/monomials
- Timestamp:
- May 27, 2011, 2:56:51 PM (13 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/monomials/ring.cc
r7af488e r9bb5457 2211 2211 2212 2212 static 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) 2214 2214 { 2215 2215 if ((prev_ord== 1) || (bitplace!=BITS_PER_LONG)) … … 3929 3929 pFDeg_CASE(p_WTotaldegree); else 3930 3930 pFDeg_CASE(p_Deg); else 3931 Print("(%p)", r->pFDeg); // default case3931 Print("(%p)", (void*)(r->pFDeg)); // default case 3932 3932 3933 3933 PrintS("\n"); … … 4898 4898 return size; 4899 4899 } 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 4901 static 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 4910 4912 static void rOppWeight(int *w, int l) 4911 4913 { … … 5123 5125 r->order[j]=ringorder_wp; 5124 5126 i++; 5125 //l=rReallocM1(r, src,l,j);5127 //l=rReallocM1(r,l,j); 5126 5128 } 5127 5129 else
Note: See TracChangeset
for help on using the changeset viewer.