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
|
|
@ -59,7 +59,7 @@ template<class Chrom> class eoInsertion: public eoMerge<Chrom>
|
|||
*/
|
||||
void operator()( eoPop<Chrom>& _breeders, eoPop<Chrom>& _pop)
|
||||
{
|
||||
unsigned target = static_cast<unsigned>(rint(_pop.size() * rate()));
|
||||
unsigned target = static_cast<unsigned>((_pop.size() * rate()));
|
||||
|
||||
_pop.swap(_breeders);
|
||||
|
||||
|
|
|
|||
Reference in a new issue