changed int compare to size_t
This commit is contained in:
parent
107c4568a0
commit
d3b83c70b0
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ template <class EOT> class eoPlus : public eoMerge<EOT>
|
||||||
{
|
{
|
||||||
offspring.reserve(offspring.size() + _pop.size());
|
offspring.reserve(offspring.size() + _pop.size());
|
||||||
|
|
||||||
for (int i = 0; i < _pop.size(); ++i)
|
for (size_t i = 0; i < _pop.size(); ++i)
|
||||||
{
|
{
|
||||||
offspring.push_back(_pop[i]);
|
offspring.push_back(_pop[i]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Reference in a new issue