Changeset e5aab0 in git for libpolys/polys/monomials/p_polys.cc
- Timestamp:
- Feb 21, 2013, 5:14:58 PM (10 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '2234726c50d679d6664181a5c72f75a6fd64a787')
- Children:
- 448d06b6d391dca8aaf97c928c06962fb61930d8
- Parents:
- f48707971b394befdb9c3fce8f6366610b334e92
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/monomials/p_polys.cc
rf48707 re5aab0 697 697 if( p == NULL ) // TODO: ??? 698 698 return -1; 699 700 long r = totaldegreeWecart_IV(p, R, w); pIter(p); 701 702 for ( ; p!=NULL; pIter(p) ) 703 { 704 const long t = totaldegreeWecart_IV(p, R, w); 699 long r=~0L; 700 loop 701 { 702 long t = totaldegreeWecart_IV(p, R, w); pIter(p); 705 703 if (t > r) r = t; 706 } 707 704 pIter(p); 705 if (p==NULL) break; 706 } 708 707 return r; 709 708 } … … 728 727 j+=p_GetExp(p, i, r)*r->firstwv[i-1]; 729 728 730 for (;i<=r ->N;i++)729 for (;i<=rVar(r);i++) 731 730 j+=p_GetExp(p,i, r)*p_Weight(i, r); 732 731
Note: See TracChangeset
for help on using the changeset viewer.