Changed int target to size_t target (produced warning)
This commit is contained in:
parent
dd42eec50a
commit
064ebabac5
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ template<class EOT> class eoLottery: public eoBinPopOp<EOT>
|
||||||
*/
|
*/
|
||||||
void operator()( eoPop<EOT>& pop, eoPop<EOT>& breeders)
|
void operator()( eoPop<EOT>& pop, eoPop<EOT>& breeders)
|
||||||
{
|
{
|
||||||
int target = static_cast<int>(rate_ * pop.size());
|
size_t target = static_cast<size_t>(rate_ * pop.size());
|
||||||
|
|
||||||
/* Gustavo: uncomment this if it must be here
|
/* Gustavo: uncomment this if it must be here
|
||||||
// test of consistency
|
// test of consistency
|
||||||
|
|
|
||||||
Reference in a new issue