def _getMassFunction(self, parents):
        i = self.dt[parents]
        ret = [0.] * self.selfCard
        if not (0 <= i < self.selfCard):
            raise IndexError("DT %r returns value %d, which is out of range [0, %d]" % (self.dtName, i, 1-self.selfCard))
        ret[i] = 1.0
        return ret
dataset/ETHPy150Open uci-cbcl/tree-hmm/gmtkParam/__init__.py/DetCPT._getMassFunction/swapped operands of `-`