diff options
author | Nao Pross <np@0hm.ch> | 2024-05-04 19:09:03 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2024-05-04 19:09:03 +0200 |
commit | c5a58efea0b3db2fb773f2b04855b5879f812b27 (patch) | |
tree | 8f730fc094fee366719fae8e848f4d00a242d9ae | |
parent | Fix v_stack, add __str__ representation to some operation mixins (diff) | |
download | polymatrix-c5a58efea0b3db2fb773f2b04855b5879f812b27.tar.gz polymatrix-c5a58efea0b3db2fb773f2b04855b5879f812b27.zip |
Remove useless cast
Diffstat (limited to '')
-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 |