small modifications
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1465 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
9ac5be914f
commit
c64bf9fbfe
1 changed files with 7 additions and 1 deletions
|
|
@ -53,9 +53,15 @@ private:
|
|||
if(tree!=NULL)delete tree;
|
||||
tree=NULL;
|
||||
if(other.tree!=NULL)tree = new phylotreeIND(other.get_tree());
|
||||
if(!other.invalidObjectiveVector())this->objectiveVector( other.objectiveVector() );
|
||||
if(!other.invalidObjectiveVector())
|
||||
this->objectiveVector( other.objectiveVector() );
|
||||
else this->invalidateObjectiveVector();
|
||||
|
||||
if(!other.invalidFitness())this->fitness( other.fitness() );
|
||||
else this->invalidateFitness();
|
||||
|
||||
if(!other.invalidDiversity())this->diversity( other.diversity() );
|
||||
else this->invalidateDiversity();
|
||||
}
|
||||
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue