diff --git a/extras/Hadrons/GeneticScheduler.hpp b/extras/Hadrons/GeneticScheduler.hpp index d6f9bdee..e8fcd2c2 100644 --- a/extras/Hadrons/GeneticScheduler.hpp +++ b/extras/Hadrons/GeneticScheduler.hpp @@ -57,7 +57,7 @@ public: virtual ~GeneticScheduler(void) = default; // access const Gene & getMinSchedule(void); - int getMinValue(void); + V getMinValue(void); // breed a new generation void nextGeneration(void); // heuristic benchmarks @@ -116,7 +116,7 @@ GeneticScheduler::getMinSchedule(void) } template -int GeneticScheduler::getMinValue(void) +V GeneticScheduler::getMinValue(void) { return population_.begin()->first; }