def _argcheck(self, lambda_):
        if (lambda_ > 0):
            self.a = 0
            self.b = np.inf
            return 1
        elif (lambda_ < 0):
            self.a = -np.inf
            self.b = 0
            return 1
        else:
            return 0
dataset/ETHPy150Open scipy/scipy/scipy/stats/_discrete_distns.py/planck_gen._argcheck/original