Skip to content

Commit

Permalink
micro-detail
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Nov 9, 2024
1 parent a06a1a2 commit 5f083f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/combinat/yang_baxter_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ def __call__(self, u):
j = i + 1
if u[i] < u[j]:
v = list(u)
v[j], v[i] = (v[i], v[j])
v[j], v[i] = v[i], v[j]
if isinstance(u, Permutation):
return Permutation(v)
return type(u)(v)
Expand Down

0 comments on commit 5f083f0

Please sign in to comment.