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:
@@ -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>());
|
||||
|
||||
Reference in New Issue
Block a user