def _cdf(self, x, c, d):
        condlist = [c < x, x <= d, x > d]
        choicelist = [x**2 / c / (d - c + 1),
                      (c + 2 * (x - c)) / (d - c + 1),
                      1 - ((1 - x)**2 / (d - c + 1) / (1 - d))]
        return np.select(condlist, choicelist)
dataset/ETHPy150Open scipy/scipy/scipy/stats/_continuous_distns.py/trapz_gen._cdf/swapped operands of `<`