Skip to content

Commit 613a287

Browse files
authored
Update yang_baxter_graph.py
1 parent a0fd815 commit 613a287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/combinat/yang_baxter_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ def relabel_edges(self, edge_dict, inplace=True):
546546
from copy import copy
547547
Y = copy(self)
548548
digraph = Y._digraph
549-
for u, v in digraph.edges(sort=True, labels=False):
549+
for u, v in digraph.edges(sort=False, labels=False):
550550
digraph.set_edge_label(u, v, edge_dict[u, v])
551551
if not inplace:
552552
return Y

0 commit comments

Comments
 (0)