We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34ffbd9 commit 37aa9f8Copy full SHA for 37aa9f8
src/sage/libs/eclib/mat.pyx
@@ -221,15 +221,15 @@ cdef class Matrix:
221
Ts = MatrixSpace(ZZ, n, sparse=sparse).zero_matrix().__copy__()
222
for i from 0 <= i < n:
223
for j from 0 <= j < n:
224
- Mij = Integer(self.M.sub(i+1,j+1));
+ Mij = Integer(self.M.sub(i+1,j+1))
225
if Mij:
226
Ts.set_unsafe(i, j, Mij)
227
return Ts
228
else:
229
Td = MatrixSpace(ZZ, n, sparse=sparse).zero_matrix().__copy__()
230
231
232
233
234
Td.set_unsafe(i, j, Mij)
235
return Td
0 commit comments