From 064ebabac52822ef802a9632922e130ec2c2f90a Mon Sep 17 00:00:00 2001 From: mac Date: Sun, 9 Apr 2000 10:13:27 +0000 Subject: [PATCH] Changed int target to size_t target (produced warning) --- eo/src/eoLottery.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eo/src/eoLottery.h b/eo/src/eoLottery.h index d9816d5b..a79b83da 100644 --- a/eo/src/eoLottery.h +++ b/eo/src/eoLottery.h @@ -63,7 +63,7 @@ template class eoLottery: public eoBinPopOp */ void operator()( eoPop& pop, eoPop& breeders) { - int target = static_cast(rate_ * pop.size()); + size_t target = static_cast(rate_ * pop.size()); /* Gustavo: uncomment this if it must be here // test of consistency