Production of binop back to 1
This commit is contained in:
parent
6a6b8551b0
commit
b917e54486
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ class eoBinGenOp : public eoGenOp<EOT>
|
||||||
public:
|
public:
|
||||||
eoBinGenOp(eoBinOp<EOT>& _op) : op(_op) {}
|
eoBinGenOp(eoBinOp<EOT>& _op) : op(_op) {}
|
||||||
|
|
||||||
unsigned max_production(void) { return 2; } //2 as it will request two individuals
|
unsigned max_production(void) { return 1; }
|
||||||
|
|
||||||
/** do the work: get 2 individuals from the population, modifies
|
/** do the work: get 2 individuals from the population, modifies
|
||||||
only one (it's a eoBinOp)
|
only one (it's a eoBinOp)
|
||||||
|
|
|
||||||
Reference in a new issue