Godtone
Joined 17 December 2020
m →My Python 3 code: bugfix (overgreedy parameter type detection) |
m →My Python 3 code: make sort order ascending for increased intuitiveness |
||
| Line 782: | Line 782: | ||
if complements: | if complements: | ||
ivs |= set([ iv(i[1]*2,i[0]) for i in ivs ]) | ivs |= set([ iv(i[1]*2,i[0]) for i in ivs ]) | ||
return sorted(ivs,key=lambda x: x[ | return sorted(ivs,key=lambda x: x[0]/x[1]) | ||
def subgroup(ivs): | def subgroup(ivs): | ||