Skip to content

Commit 5f083f0

Browse files
committed
micro-detail
1 parent a06a1a2 commit 5f083f0

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
@@ -915,7 +915,7 @@ def __call__(self, u):
915915
j = i + 1
916916
if u[i] < u[j]:
917917
v = list(u)
918-
v[j], v[i] = (v[i], v[j])
918+
v[j], v[i] = v[i], v[j]
919919
if isinstance(u, Permutation):
920920
return Permutation(v)
921921
return type(u)(v)

0 commit comments

Comments
 (0)