add distance

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@345 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
liefooga 2007-06-21 14:28:32 +00:00
commit f2c7c06651
2 changed files with 81 additions and 81 deletions

View file

@ -36,7 +36,7 @@ public:
moeoDistanceMatrix (unsigned _size, moeoDistance < MOEOT , Type > & _distance) : distance(_distance) moeoDistanceMatrix (unsigned _size, moeoDistance < MOEOT , Type > & _distance) : distance(_distance)
{ {
this->resize(_size); this->resize(_size);
for(unsigned i=0; i<_size; i++) for (unsigned i=0; i<_size; i++)
{ {
this->operator[](i).resize(_size); this->operator[](i).resize(_size);
} }