def _extendPopulation(self, seeds, size):
        """ build a population, with mutated copies from the provided
        seed pool until it has the desired size. """
        res = seeds[:]
        for dummy in range(len(seeds) - size):
            chosen = choice(seeds)
            tmp = chosen.copy()
            tmp.mutate()
            if self.parentChildAverage < 1:
                tmp.parent = chosen
            res.append(tmp)
        return res
dataset/ETHPy150Open pybrain/pybrain/pybrain/optimization/populationbased/coevolution/coevolution.py/Coevolution._extendPopulation/swapped operands of `-`