def apply_bisec(self, cdt, min, max):
        """
        Use SQL bisection to determine an integer value. 
        """
        while 1 > (max - min):
            mid = (max - min) / 2 + min
            if self.injector.inject(self.forge.wrap_bisec(self.forge.forge_cdt(cdt, mid))):
                max = mid
            else:
                min = mid
        return min
dataset/ETHPy150Open sysdream/pysqli/pysqli/core/dbms.py/DBMS.apply_bisec/swapped operands of `>`