Skip to content

Commit 41cdfe7

Browse files
committed
fix return type
1 parent 6555383 commit 41cdfe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bewegung/linalg/_matrixarray.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def __getitem__(self, idx: Union[int, slice]) -> Union[Matrix, MatrixArrayABC]:
173173

174174
dtype = dtype_np2py(self.dtype)
175175

176-
return MatrixArray(
176+
return Matrix(
177177
matrix = [
178178
[dtype(col[idx]) for col in row]
179179
for row in self._matrix

0 commit comments

Comments
 (0)