diff options
-rw-r--r-- | polymatrix/polymatrix/mixins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polymatrix/polymatrix/mixins.py b/polymatrix/polymatrix/mixins.py index 76c31c9..06166ce 100644 --- a/polymatrix/polymatrix/mixins.py +++ b/polymatrix/polymatrix/mixins.py @@ -98,7 +98,7 @@ class PolyMatrixAsDictMixin( @override def get_poly(self, row: int, col: int) -> PolyDict | None: if (row, col) in self.data: - return self.data[cast(MatrixIndex, (row, col))] + return self.data[row, col] return None |