Skip to content

Commit e6be1da

Browse files
committed
PR #35780: fix typo
1 parent 6ef2b63 commit e6be1da

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/sage/graphs/graph_coloring.pyx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ def all_graph_colorings(G, n, count_only=False, hex_colors=False,
162162
returns a dictionary ``{color: [list of vertices]}``
163163
164164
* ``color_classes`` -- boolean (default: ``False``); when set to ``True``,
165-
the method returns only a list of the the color classes and ignores
166-
parameters ``hex_colors`` and ``vertex_color_dict``
165+
the method returns only a list of the color classes and ignores parameters
166+
``hex_colors`` and ``vertex_color_dict``
167167
168168
.. WARNING::
169169
@@ -1124,9 +1124,9 @@ def b_coloring(g, k, value_only=True, solver=None, verbose=0,
11241124
proper coloring where each color class has a b-vertex.
11251125
11261126
In the worst case, after successive applications of the above procedure, one
1127-
get a proper coloring that uses a number of colors equal to the the
1128-
b-chromatic number of `G` (denoted `\chi_b(G)`): the maximum `k` such that
1129-
`G` admits a b-coloring with `k` colors.
1127+
get a proper coloring that uses a number of colors equal to the b-chromatic
1128+
number of `G` (denoted `\chi_b(G)`): the maximum `k` such that `G` admits a
1129+
b-coloring with `k` colors.
11301130
11311131
A useful upper bound for calculating the b-chromatic number is the
11321132
following. If `G` admits a b-coloring with `k` colors, then there are `k`

0 commit comments

Comments
 (0)