diff --git a/eo/src/eoDualFitness.h b/eo/src/eoDualFitness.h index c7c6b4d71..a6d6aa54e 100644 --- a/eo/src/eoDualFitness.h +++ b/eo/src/eoDualFitness.h @@ -174,6 +174,7 @@ public: { this->_value = v.first; this->is_feasible( v.second ); + this->_feasible_init = true; return *this; } @@ -184,6 +185,7 @@ public: if (this != &other) { this->_value = other._value; this->is_feasible( other.is_feasible() ); + this->_feasible_init = other._feasible_init; } return *this; }