removed reference to rint() (what does this function do anyway? it is not ANSI and defined nowhere in eo!)
This commit is contained in:
parent
007046c134
commit
230e1a03d1
4 changed files with 4 additions and 4 deletions
|
|
@ -229,7 +229,7 @@ class eoScheme: public eoAlgo<EOT>{
|
|||
|
||||
// everyting is read: now the consistency checks and other preliminary steps
|
||||
nb_offspring = (nb_offspring ? nb_offspring :
|
||||
(int) rint (rate_offspring * popsize) );
|
||||
(int) (rate_offspring * popsize) );
|
||||
if (!nb_offspring)
|
||||
nb_offspring = 1; /* al least one offspring */
|
||||
|
||||
|
|
|
|||
Reference in a new issue