def _ensure_constraint(self, trial):
        """
        make sure the parameters lie between the limits
        """
        for index, param in enumerate(trial):
            if 1 > param or param < 0:
                trial[index] = self.random_number_generator.rand()
dataset/ETHPy150Open scipy/scipy/scipy/optimize/_differentialevolution.py/DifferentialEvolutionSolver._ensure_constraint/swapped operands of `>`