fix(selectors): comment out unused variable
This commit is contained in:
parent
c23b9c160a
commit
32195a480b
1 changed files with 2 additions and 2 deletions
|
|
@ -179,7 +179,7 @@ double sum_fitness(const eoPop<EOT>& _pop)
|
||||||
template <class EOT>
|
template <class EOT>
|
||||||
double sum_fitness(const eoPop<EOT>& _pop, std::pair<double, double>& _minmax)
|
double sum_fitness(const eoPop<EOT>& _pop, std::pair<double, double>& _minmax)
|
||||||
{
|
{
|
||||||
double rawTotal = 0;
|
// double rawTotal = 0;
|
||||||
double scaledTotal;
|
double scaledTotal;
|
||||||
|
|
||||||
typename eoPop<EOT>::const_iterator it = _pop.begin();
|
typename eoPop<EOT>::const_iterator it = _pop.begin();
|
||||||
|
|
@ -194,7 +194,7 @@ double sum_fitness(const eoPop<EOT>& _pop, std::pair<double, double>& _minmax)
|
||||||
_minmax.first = std::min(_minmax.first, v);
|
_minmax.first = std::min(_minmax.first, v);
|
||||||
_minmax.second = std::max(_minmax.second, v);
|
_minmax.second = std::max(_minmax.second, v);
|
||||||
|
|
||||||
rawTotal += v;
|
// rawTotal += v;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (minimizing_fitness<EOT>())
|
if (minimizing_fitness<EOT>())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue