should you only be doing this for numeric nu, hence `if nu.is_comparable` might be better?