Skip to content

Commit 00484bc

Browse files
committed
minor detail
1 parent 75af3aa commit 00484bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/matrix/matrix0.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,10 +383,10 @@ cdef class Matrix(sage.structure.element.Matrix):
383383
cdef check_bounds(self, Py_ssize_t i, Py_ssize_t j) noexcept:
384384
"""
385385
This function gets called when you're about to access the i,j entry
386-
of this matrix. If i, j are out of range, an IndexError is
386+
of this matrix. If i, j are out of range, an :class:`IndexError` is
387387
raised.
388388
"""
389-
if i < 0 or i >= self._nrows or j<0 or j >= self._ncols:
389+
if i < 0 or i >= self._nrows or j < 0 or j >= self._ncols:
390390
raise IndexError("matrix index out of range")
391391

392392
cdef check_mutability(self) noexcept:

0 commit comments

Comments
 (0)