Skip to content

Commit a846ef0

Browse files
author
Matthias Koeppe
committed
Style fixes
1 parent 4e4ad13 commit a846ef0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/sage/matrix/matrix2.pyx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5039,19 +5039,19 @@ cdef class Matrix(Matrix1):
50395039

50405040
def _test_right_kernel(self, **options):
50415041
"""
5042-
Checks that :meth:`right_kernel` works.
5042+
Check that :meth:`right_kernel` works.
50435043

50445044
EXAMPLES::
50455045

5046-
sage: a=matrix([[1,2],[3,4]])
5046+
sage: a = matrix([[1,2], [3,4]])
50475047
sage: a._test_right_kernel()
50485048

50495049
"""
50505050
tester = self._tester(**options)
50515051
# At least we'll check that the basis of the kernel kills the matrix
5052-
V=self.right_kernel()
5053-
tester.assert_(self.ncols()-self.rank()==V.dimension())
5054-
tester.assert_((self*V.basis_matrix().transpose()).is_zero())
5052+
V = self.right_kernel()
5053+
tester.assert_(self.ncols() - self.rank() == V.dimension())
5054+
tester.assert_((self * V.basis_matrix().transpose()).is_zero())
50555055

50565056
def left_kernel(self, *args, **kwds):
50575057
r"""
@@ -5211,19 +5211,19 @@ cdef class Matrix(Matrix1):
52115211

52125212
def _test_left_kernel(self, **options):
52135213
"""
5214-
Checks that :meth:`left_kernel` works.
5214+
Check that :meth:`left_kernel` works.
52155215

52165216
EXAMPLES::
52175217

5218-
sage: a=matrix([[1,2],[3,4]])
5218+
sage: a = matrix([[1,2], [3,4]])
52195219
sage: a._test_left_kernel()
52205220

52215221
"""
52225222
tester = self._tester(**options)
52235223
# At least we'll check that the basis of the kernel kills the matrix
5224-
V=self.left_kernel()
5225-
tester.assert_(self.nrows()-self.rank()==V.dimension())
5226-
tester.assert_((V.basis_matrix()*self).is_zero())
5224+
V = self.left_kernel()
5225+
tester.assert_(self.nrows() - self.rank() == V.dimension())
5226+
tester.assert_((V.basis_matrix() * self).is_zero())
52275227

52285228
def kernel_on(self, V, poly=None, check=True):
52295229
"""

0 commit comments

Comments
 (0)