Godtone (talk | contribs)
m My Python 3 code: bugfix (overgreedy parameter type detection)
Godtone (talk | contribs)
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[1]/x[0])
return sorted(ivs,key=lambda x: x[0]/x[1])


def subgroup(ivs):
def subgroup(ivs):