File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
include/mlir/Dialect/Polynomial/IR
lib/Dialect/Polynomial/IR Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class MonomialBase {
35
35
public:
36
36
MonomialBase (const CoefficientType &coeff, const APInt &expo)
37
37
: coefficient(coeff), exponent(expo) {}
38
- virtual ~MonomialBase () = 0 ;
38
+ virtual ~MonomialBase () = default ;
39
39
40
40
const CoefficientType &getCoefficient () const { return coefficient; }
41
41
CoefficientType &getMutableCoefficient () { return coefficient; }
Original file line number Diff line number Diff line change 14
14
namespace mlir {
15
15
namespace polynomial {
16
16
17
- template <typename T>
18
- MonomialBase<T>::~MonomialBase () {}
19
-
20
17
template <typename PolyT, typename MonomialT>
21
18
FailureOr<PolyT> fromMonomialsImpl (ArrayRef<MonomialT> monomials) {
22
19
// A polynomial's terms are canonically stored in order of increasing degree.
You can’t perform that action at this time.
0 commit comments