update from constant to function

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@246 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
liefooga 2007-04-17 13:43:29 +00:00
commit ddadc8d8d8

View file

@ -24,9 +24,6 @@ class moeoObjectiveVectorTraits
{
public:
/** The tolerance value (used to compare solutions) */
const static double tol = 1e-6;
/**
* Parameters setting
* @param _nObjectives the number of objectives
@ -86,7 +83,7 @@ public:
*/
static double tolerance()
{
return tol;
return 1e-6;
}