Removed "using namespace std" statements from header files in EO -- "std::" identifier were added where necessary.
This commit is contained in:
parent
6441ea1ec3
commit
86fa476c67
263 changed files with 2009 additions and 1976 deletions
|
|
@ -56,7 +56,7 @@ public:
|
|||
LR(0.0), nbBest(_nbBest), nbWorst(_nbWorst)
|
||||
{
|
||||
if (nbBest+nbWorst == 0)
|
||||
throw runtime_error("Must update either from best or from worst in eoPBILAdditive");
|
||||
throw std::runtime_error("Must update either from best or from worst in eoPBILAdditive");
|
||||
|
||||
if (_nbBest)
|
||||
{
|
||||
|
|
@ -79,10 +79,10 @@ public:
|
|||
{
|
||||
eoPBILDistrib<EOT>& distrib = dynamic_cast<eoPBILDistrib<EOT>&>(_distrib);
|
||||
|
||||
vector<double> & p = distrib.value();
|
||||
std::vector<double> & p = distrib.value();
|
||||
|
||||
unsigned i, popSize=_pop.size();
|
||||
vector<const EOT*> result;
|
||||
std::vector<const EOT*> result;
|
||||
_pop.sort(result); // is it necessary to sort the whole population?
|
||||
// but I'm soooooooo lazy !!!
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue