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:
parent
6caece687b
commit
ddadc8d8d8
1 changed files with 1 additions and 4 deletions
|
|
@ -24,9 +24,6 @@ class moeoObjectiveVectorTraits
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
/** The tolerance value (used to compare solutions) */
|
|
||||||
const static double tol = 1e-6;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parameters setting
|
* Parameters setting
|
||||||
* @param _nObjectives the number of objectives
|
* @param _nObjectives the number of objectives
|
||||||
|
|
@ -86,7 +83,7 @@ public:
|
||||||
*/
|
*/
|
||||||
static double tolerance()
|
static double tolerance()
|
||||||
{
|
{
|
||||||
return tol;
|
return 1e-6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue