Removed extra colon (;) at end of class definitions.
They didn't hurt until gcc 3.4.1 but then they generated an error!
This commit is contained in:
parent
ecbb2e3598
commit
e07c504571
2 changed files with 2 additions and 2 deletions
|
|
@ -225,7 +225,7 @@ public :
|
||||||
fortune -= vec[i++];
|
fortune -= vec[i++];
|
||||||
}
|
}
|
||||||
return --i;
|
return --i;
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
/** Randomly select element from vector.
|
/** Randomly select element from vector.
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ bool minimizing_fitness()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return eo2 < eo1; // check whether we have a minimizing fitness
|
return eo2 < eo1; // check whether we have a minimizing fitness
|
||||||
};
|
}
|
||||||
|
|
||||||
inline double scale_fitness(const std::pair<double, double>& _minmax, double _value)
|
inline double scale_fitness(const std::pair<double, double>& _minmax, double _value)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Reference in a new issue