Bug fix
authordeba
Wed, 06 Sep 2006 09:55:37 +0000
changeset 21991229af45cc69
parent 2198 416b0c06b5c8
child 2200 2f2ac1b1ca1e
Bug fix
lemon/polynomial.h
     1.1 --- a/lemon/polynomial.h	Wed Sep 06 09:54:46 2006 +0000
     1.2 +++ b/lemon/polynomial.h	Wed Sep 06 09:55:37 2006 +0000
     1.3 @@ -128,7 +128,7 @@
     1.4      Polynomial &integrateMyself()
     1.5      {
     1.6        _coeff.push_back(T());
     1.7 -      for(int i=_coeff.size()-1;i>=0;i--) _coeff[i]=_coeff[i-1]/i;
     1.8 +      for(int i=_coeff.size()-1;i>0;i--) _coeff[i]=_coeff[i-1]/i;
     1.9        _coeff[0]=0;
    1.10        return *this;
    1.11      }