a formal fix of forbidden operator
This commit is contained in:
1 parent
ad98173078
commit
1d4b33b50c
1 file changed
+1
-1
+1
-1
@@ -231,7 +231,7 @@ return r;
|
|||||||
template <typename T>
|
template <typename T>
|
||||||
inline Polynomial<T> operator+(const T &a, const Polynomial<T> &rhs) {return Polynomial<T>(rhs)+=a;}
|
inline Polynomial<T> operator+(const T &a, const Polynomial<T> &rhs) {return Polynomial<T>(rhs)+=a;}
|
||||||
template <typename T>
|
template <typename T>
|
||||||
inline Polynomial<T> operator-(const T &a, const Polynomial<T> &rhs) {return Polynomial<T>(rhs)-=a;}
|
Polynomial<T> operator-(const T &a, const Polynomial<T> &rhs) = delete; //deliberately not available, write -p + a
|
||||||
|
|
||||||
//Sylvester matrix
|
//Sylvester matrix
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
|||||||
Reference in new issue
Block a user