Skip to content

Commit 2caff02

Browse files
committed
More suggestions by mkoeppe
1 parent bc80bf9 commit 2caff02

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/sage/matroids/matroid.pyx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3313,7 +3313,7 @@ cdef class Matroid(SageObject):
33133313
33143314
over all bases `B` of the matroid. Here `e_i` are the standard
33153315
basis vectors of `\RR^n`. An arbitrary labelling of the
3316-
groundset by `{0,\ldots,n-1}` is chosen.
3316+
groundset by `\{0,\ldots,n-1\}` is chosen.
33173317
33183318
.. SEEALSO::
33193319
@@ -3360,7 +3360,7 @@ cdef class Matroid(SageObject):
33603360
33613361
over all independent sets `I` of the matroid. Here `e_i` are
33623362
the standard basis vectors of `\RR^n`. An arbitrary labelling
3363-
of the groundset by `{0,\ldots,n-1}` is chosen.
3363+
of the groundset by `\{0,\ldots,n-1\}` is chosen.
33643364
33653365
.. SEEALSO::
33663366
@@ -3411,7 +3411,7 @@ cdef class Matroid(SageObject):
34113411
- ``other`` -- a matroid
34123412
- ``certificate`` -- boolean (default: ``False``)
34133413
3414-
OUTPUT: boolean, and, if ``certificate = True``, a dictionary or
3414+
OUTPUT: boolean, and, if ``certificate=True``, a dictionary or
34153415
``None``
34163416
34173417
EXAMPLES::
@@ -6081,7 +6081,7 @@ cdef class Matroid(SageObject):
60816081
False
60826082
"""
60836083
if self.rank() >= 2:
6084-
for X in combinations(self.groundset(), self.rank()-1):
6084+
for X in combinations(self.groundset(), self.rank() - 1):
60856085
if not self._is_independent(frozenset(X)):
60866086
return False
60876087
return True
@@ -8343,7 +8343,7 @@ cdef class Matroid(SageObject):
83438343
matroids.
83448344
83458345
Let `(M_1, M_2, \ldots, M_k)` be a list of matroids where each `M_i`
8346-
has groundset `E_i`. The matroid sum `(E_1,I_1),\ldots,(E_n,I_n)`
8346+
has groundset `E_i`. The matroid sum of `(E_1,I_1),\ldots,(E_n,I_n)`
83478347
is a matroid `(E,I)` where `E= \bigsqcup_{i=1}^n E_i` and
83488348
`I= \bigsqcup_{i=1}^n I_i`.
83498349

0 commit comments

Comments
 (0)