bugfix: consider a dual fitness to be correctly initialized from a pair
This commit is contained in:
parent
6f4ecc603b
commit
f8603acf3c
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue