summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2024-05-12 17:57:47 +0200
committerNao Pross <np@0hm.ch>2024-05-12 17:57:47 +0200
commit0d2146b66a86952b8f4464d6e3225e232a924de5 (patch)
treeb1947f13888482edc7fe7148fbcea85c4feeb833
parentDelete obsolete unit tests (diff)
downloadpolymatrix-0d2146b66a86952b8f4464d6e3225e232a924de5.tar.gz
polymatrix-0d2146b66a86952b8f4464d6e3225e232a924de5.zip
Bugfix in GetItemExprMixin
-rw-r--r--polymatrix/expression/mixins/getitemexprmixin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/polymatrix/expression/mixins/getitemexprmixin.py b/polymatrix/expression/mixins/getitemexprmixin.py
index 6fac468..8e95051 100644
--- a/polymatrix/expression/mixins/getitemexprmixin.py
+++ b/polymatrix/expression/mixins/getitemexprmixin.py
@@ -74,7 +74,7 @@ class GetItemExprMixin(ExpressionBaseMixin):
def at(self, row: int, col: int) -> PolyDict:
# FIXME: this is a quick fix
- return self.get_poly(self, row, col) or PolyDict.empty()
+ return self.get_poly(row, col) or PolyDict.empty()
def get_poly(self, row: int, col: int) -> dict[tuple[int, ...], float]:
try: