Skip to content

Commit 4a29e1c

Browse files
authored
fixing docstrings
1 parent 262d0a0 commit 4a29e1c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/sage/combinat/posets/linear_extensions.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,13 +256,13 @@ def is_supergreedy(self):
256256
r"""
257257
Return ``True`` if the linear extension is supergreedy.
258258
259-
A linear extension of a Poset `P` with elements `\{_1,x_2,...,x_t\}`
259+
A linear extension of a poset `P` with elements `\{x_1,x_2,...,x_t\}`
260260
is *super greedy*, if it can be obtained using the following
261-
algorithm: Choose `x_1` to be a minimal element of `P`;
261+
algorithm: choose `x_1` to be a minimal element of `P`;
262262
suppose `X = \{x_1,...,x_i\}` have been chosen; let `M` be
263-
the set of minimal elements of `P/X`. If there is an element
263+
the set of minimal elements of `P\setminus X`. If there is an element
264264
of `M` which covers an element `x_j` in `X`, then let `x_{i+1}`
265-
be one of these such that `j` is maximal; otherwise, choose `x_{i+1}
265+
be one of these such that `j` is maximal; otherwise, choose `x_{i+1}`
266266
to be any element of `M`.
267267
268268
Informally, a linear extension is supergreedy if it "always

0 commit comments

Comments
 (0)