We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a8454f commit a55615cCopy full SHA for a55615c
src/sage/geometry/lattice_polytope.py
@@ -3390,8 +3390,8 @@ def index_of_max(iterable):
3390
PM_max = PM.with_permuted_rows_and_columns(permutations_inv[0][0].inverse(),permutations_inv[0][1].inverse())
3391
if check:
3392
for p in permutations_inv.keys():
3393
- permutaiton_inv[p][0] = permutaiton_inv[p][0].inverse()
3394
- permutaiton_inv[p][1] = permutaiton_inv[p][1].inverse()
+ permutations_inv[p][0] = permutations_inv[p][0].inverse()
+ permutations_inv[p][1] = permutations_inv[p][1].inverse()
3395
return (PM_max, permutations_inv)
3396
else:
3397
return PM_max
0 commit comments