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
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include <eoCellularEasyEA.h>
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
template <class EOT> class eoToricCellularEasyEA : public eoCellularEasyEA <EOT> {
|
||||
|
||||
|
|
@ -71,7 +71,7 @@ public :
|
|||
virtual eoPop <EOT> neighbours (const eoPop <EOT> & pop, int rank) {
|
||||
|
||||
int dim2 = pop.size () ;
|
||||
int dim = (int) sqrt (dim2) ;
|
||||
int dim = (int) std::sqrt ( (double) dim2) ;
|
||||
int j = rank ;
|
||||
|
||||
eoPop <EOT> neigh ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue