diff --git a/moeo/src/core/MOEO.h b/moeo/src/core/MOEO.h index 8b03c1bab..1a9e1b118 100644 --- a/moeo/src/core/MOEO.h +++ b/moeo/src/core/MOEO.h @@ -155,7 +155,7 @@ class MOEO : public EO < MOEOObjectiveVector > * Gets one dimension of the objective vector * @param _dim dimension of the objective vector to set */ - typename ObjectiveVector::Type objectiveVector(unsigned int _dim) + typename ObjectiveVector::Type objectiveVector(unsigned int _dim) const { return objectiveVectorValue[_dim]; }