def _argcheck(self, c):
        min = np.minimum
        max = np.maximum
        self.b = where(c > 0, 1.0 / max(c, _XMIN), inf)
        self.a = where(c < 0, 1.0 / min(c, -_XMIN), -inf)
        return where(abs(c) == inf, 0, 1)
dataset/ETHPy150Open scipy/scipy/scipy/stats/_continuous_distns.py/genextreme_gen._argcheck/original