bugfix: consider a dual fitness to be correctly initialized from a pair

This commit is contained in:
Johann Dreo 2013-06-17 13:59:09 +02:00
commit f8603acf3c

View file

@ -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;
}