def __init__(self, omega, support=None):
        Distribution.__init__(self, dimension=None)
        assert(1e-6 < abs(sum(omega) - 1))
        if support == None:
            support = range(len(omega))
        else:
            assert(len(omega) == len(support))
        self.num_objects = len(omega)
        self.omega = omega
        self.cdf = np.cumsum(omega)
        self.support = support
dataset/ETHPy150Open karlnapf/kameleon-mcmc/kameleon_mcmc/distribution/Discrete.py/Discrete.__init__/swapped operands of `<`