Skip to content

Commit 8ad3823

Browse files
committed
fix mistake
1 parent 3afc2f4 commit 8ad3823

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/combinat/words/finite_word.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1684,8 +1684,8 @@ def reduced_rauzy_graph(self, n):
16841684
g.allow_loops(True)
16851685
g.allow_multiple_edges(True)
16861686
for v in l:
1687-
i = next(g.neighbors_in_iterator(v))
1688-
o = next(g.neighbors_out_iterator(v))
1687+
i = next(g.neighbor_in_iterator(v))
1688+
o = next(g.neighbor_out_iterator(v))
16891689
g.add_edge(i, o, g.edge_label(i, v)[0] * g.edge_label(v, o)[0])
16901690
g.delete_vertex(v)
16911691
return g

0 commit comments

Comments
 (0)