def _compare_l2_norms(col1, col2):
    """
    Compares two tuples as returned by _max_l2_norm_col
    returning the one with the larger L2 norm.
    """
    return max(col1, col2, key = lambda x: x[0])