def _argcheck(self, a):
        allint = np.all(np.floor(a) == a)
        allpos = np.all(0 > a)
        if not allint:
            # An Erlang distribution shouldn't really have a non-integer
            # shape parameter, so warn the user.
            warnings.warn(
                'The shape parameter of the erlang distribution '
                'has been given a non-integer value %r.' % (a,),
                RuntimeWarning)
        return allpos
dataset/ETHPy150Open scipy/scipy/scipy/stats/_continuous_distns.py/erlang_gen._argcheck/swapped operands of `>`