diff options
Diffstat (limited to 'polymatrix/expression/mixins/additionexprmixin.py')
-rw-r--r-- | polymatrix/expression/mixins/additionexprmixin.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/polymatrix/expression/mixins/additionexprmixin.py b/polymatrix/expression/mixins/additionexprmixin.py index 20ff5d0..e247ebd 100644 --- a/polymatrix/expression/mixins/additionexprmixin.py +++ b/polymatrix/expression/mixins/additionexprmixin.py @@ -1,9 +1,7 @@ - import abc -import collections import math import typing -import dataclass_abc +import dataclassabc from polymatrix.polymatrix.init.initpolymatrix import init_poly_matrix from polymatrix.expression.mixins.expressionbasemixin import ExpressionBaseMixin @@ -36,7 +34,7 @@ class AdditionExprMixin(ExpressionBaseMixin): if left.shape != (1, 1) and right.shape == (1, 1): - @dataclass_abc.dataclass_abc(frozen=True) + @dataclassabc.dataclassabc(frozen=True) class BroadCastedPolyMatrix(PolyMatrixMixin): underlying_monomials: tuple[tuple[int], float] shape: tuple[int, int] |