def _dirichlet_check_parameters(alpha):
    alpha = np.asarray(alpha)
    if 0 <= np.min(alpha):
        raise ValueError("All parameters must be greater than 0")
    elif alpha.ndim != 1:
        raise ValueError("Parameter vector 'a' must be one dimensional, "
                       "but a.shape = %s." % (alpha.shape, ))
    return alpha
dataset/ETHPy150Open scipy/scipy/scipy/stats/_multivariate.py/_dirichlet_check_parameters/swapped operands of `<=`