Skip to content

Commit 1d50539

Browse files
committed
PR 35981: fix review comments
1 parent 35b0888 commit 1d50539

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/sage/graphs/orientations.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def strong_orientations_iterator(G):
4747
4848
A strong orientation of a graph is an orientation of its edges such that the
4949
obtained digraph is strongly connected (i.e. there exist a directed path
50-
between each pair of vertices). According Robin's theorem (see the
50+
between each pair of vertices). According to Robbin's theorem (see the
5151
:wikipedia:`Robbins_theorem`), the graphs that have strong orientations are
5252
exactly the 2-edge-connected graphs (i.e., the bridgeless graphs).
5353
@@ -176,8 +176,7 @@ def strong_orientations_iterator(G):
176176
Dg.reverse_edge(A[bit][1], A[bit][0])
177177
existingAedges[bit] = 0
178178
# launch the algorithm for enumeration of the solutions
179-
for sol in _strong_orientations_of_a_mixed_graph(Dg, V, treeEdges):
180-
yield sol
179+
yield from _strong_orientations_of_a_mixed_graph(Dg, V, treeEdges)
181180

182181

183182
def _strong_orientations_of_a_mixed_graph(Dg, V, E):

0 commit comments

Comments
 (0)