Open ppebay opened 1 year ago
PR #325 introduced the following less-than comparison operator of Rank instances:
Rank
def __lt__(self, other): return self.get_load() < other.get_load()
However we do not necessarily want this to be always the comparison operator between ranks, as they can be sorted by other QoIs (like index, work, etc.). This issue must be discussed and only after consensus is reached, implemented more generically.
PR #325 introduced the following less-than comparison operator of
Rank
instances:However we do not necessarily want this to be always the comparison operator between ranks, as they can be sorted by other QoIs (like index, work, etc.). This issue must be discussed and only after consensus is reached, implemented more generically.