a formal fix of forbidden operator

This commit is contained in:
jiri committed 2026-10-27 19:15:37 +01:00
1 parent ad98173078
commit 1d4b33b50c
1 file changed
+1 -1
+1 -1
View File
@@ -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>