File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3220,7 +3220,7 @@ def index_of_max(iterable):
3220
3220
for k in range (1 , n_f ):
3221
3221
# Error for k == 1 already!
3222
3222
permutations_inv [n_s ] = [S_f .one (), S_v .one ()]
3223
- m = index_of_max (PM [k , tuple ( permutations_inv [n_s ][1 ](j + 1 ) - 1 for j in range (n_v ))] )
3223
+ m = index_of_max (tuple ( PM [k , permutations_inv [n_s ][1 ](j + 1 ) - 1 ] for j in range (n_v )))
3224
3224
if m > 0 :
3225
3225
permutations_inv [n_s ][1 ] = permutations_inv [n_s ][1 ] * PGE (S_v , 1 , m + 1 )
3226
3226
d = (PM [k , permutations_inv [n_s ][1 ](1 ) - 1 ]
@@ -3231,7 +3231,7 @@ def index_of_max(iterable):
3231
3231
continue
3232
3232
# otherwise:
3233
3233
for i in range (1 , n_v ):
3234
- m = index_of_max (PM [k , tuple ( permutations_inv [n_s ][1 ](j + 1 ) - 1 for j in range (i ,n_v ))] )
3234
+ m = index_of_max (tuple ( PM [k , permutations_inv [n_s ][1 ](j + 1 ) - 1 ] for j in range (i ,n_v )))
3235
3235
if m > 0 :
3236
3236
permutations_inv [n_s ][1 ] = permutations_inv [n_s ][1 ] \
3237
3237
* PGE (S_v , i + 1 , m + i + 1 )
You can’t perform that action at this time.
0 commit comments