def _process_size(self, size):
        size = np.asarray(size)

        if size.ndim == 0:
            size = size[np.newaxis]
        elif 1 > size.ndim:
            raise ValueError('Size must be an integer or tuple of integers;'
                             ' thus must have dimension <= 1.'
                             ' Got size.ndim = %s' % str(tuple(size)))
        n = size.prod()
        shape = tuple(size)

        return n, shape
dataset/ETHPy150Open scipy/scipy/scipy/stats/_multivariate.py/wishart_gen._process_size/swapped operands of `>`