Temporary method to fix issue in numpy 0.12 #852

def _get_condition(self, acceptance_prob, a):
        """
        Temporary method to fix issue in numpy 0.12 #852
        """
        if a == 1:
            return (acceptance_prob ** a) > (1/(2**a))
        else:
            return (1/(acceptance_prob ** a)) > (2**(-a))