Correct templatized types across ObjectiveVector-dependant code
This commit is contained in:
parent
d507114a3f
commit
206f12e558
4 changed files with 13 additions and 11 deletions
|
|
@ -154,7 +154,7 @@ class moeoExpBinaryIndicatorBasedFitnessAssignment : public moeoBinaryIndicatorB
|
|||
*/
|
||||
void setup(const eoPop < MOEOT > & _pop)
|
||||
{
|
||||
double min, max;
|
||||
typename MOEOT::ObjectiveVector::Type min, max;
|
||||
for (unsigned int i=0; i<ObjectiveVector::Traits::nObjectives(); i++)
|
||||
{
|
||||
min = _pop[0].objectiveVector()[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue