2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-27 19:12:08 +00:00

Fix indefinite hang with p *= p

This commit is contained in:
Kolya Matteo
2016-05-01 20:47:54 -04:00
parent 0940e7d1e6
commit ca07aa8a0a

View File

@@ -408,7 +408,7 @@ public:
return *this;
}
template <class U>
polynomial& operator *=(const polynomial<U>& value)
polynomial& operator *=(const polynomial<U> value)
{
// TODO: FIXME: use O(N log(N)) algorithm!!!
polynomial const zero = zero_element(std::multiplies<polynomial>());