--- trunk/src/math/Polynomial.hpp 2006/01/30 22:25:27 876 +++ trunk/src/math/Polynomial.hpp 2006/02/02 17:14:15 883 @@ -204,6 +204,7 @@ namespace oopse { for (i = p.begin(); i != p.end(); ++i) { this->addCoefficient(i->first, -i->second); } + return *this; } PolynomialType& operator *= (const PolynomialType& p) { @@ -310,7 +311,7 @@ namespace oopse { /** * Tests if two polynomial have the same exponents - * @return true if these all of the exponents in these Polynomial are identical + * @return true if all of the exponents in these Polynomial are identical * @param p1 the first polynomial * @param p2 the second polynomial * @note this function does not compare the coefficient