summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2024-05-04 20:07:33 +0200
committerNao Pross <np@0hm.ch>2024-05-04 20:07:58 +0200
commitad02a3b790c75b626b2bb40dd75a91483d56e829 (patch)
tree2d522c0ea97f8849812bd6a22999c25d94488fe4
parentFix regression in polymatrix.to_sympy (diff)
downloadpolymatrix-ad02a3b790c75b626b2bb40dd75a91483d56e829.tar.gz
polymatrix-ad02a3b790c75b626b2bb40dd75a91483d56e829.zip
Remove abstractmethod decorator from PolyMatrix.get_poly
it is now implemented in terms of PolyMatrix.at
-rw-r--r--polymatrix/polymatrix/mixins.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/polymatrix/polymatrix/mixins.py b/polymatrix/polymatrix/mixins.py
index 06166ce..25b968c 100644
--- a/polymatrix/polymatrix/mixins.py
+++ b/polymatrix/polymatrix/mixins.py
@@ -63,7 +63,6 @@ class PolyMatrixMixin(abc.ABC):
def gen_data(self) -> typing.Generator[tuple[tuple[int, int], PolyDict], None, None]:
yield from self.entries()
- @abc.abstractmethod
@deprecated("Replaced by PolyMatrixMixin.at(row, col).")
def get_poly(self, row: int, col: int) -> PolyDict | None:
# NOTE: in the new API when there is nothing at an entry the at()