Changeset e5aab0 in git


Ignore:
Timestamp:
Feb 21, 2013, 5:14:58 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'cbf866d4f8c3861325311c042cb2033c053453b2')
Children:
448d06b6d391dca8aaf97c928c06962fb61930d8
Parents:
f48707971b394befdb9c3fce8f6366610b334e92
Message:
cosmetics: p_DegW
File:
1 edited

Legend:

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

    rf48707 re5aab0  
    697697  if( p == NULL ) // TODO: ???
    698698     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);
    705703    if (t > r) r = t;
    706   }
    707    
     704    pIter(p);
     705    if (p==NULL) break;
     706  }
    708707  return r;
    709708}
     
    728727    j+=p_GetExp(p, i, r)*r->firstwv[i-1];
    729728
    730   for (;i<=r->N;i++)
     729  for (;i<=rVar(r);i++)
    731730    j+=p_GetExp(p,i, r)*p_Weight(i, r);
    732731
Note: See TracChangeset for help on using the changeset viewer.