small modifications

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1465 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
wcancino 2009-03-02 14:34:14 +00:00
commit c64bf9fbfe

View file

@ -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: