diff --git a/trunk/paradiseo-moeo/tutorial/Lesson1/Sch1.cpp b/trunk/paradiseo-moeo/tutorial/Lesson1/Sch1.cpp index a158a383c..fdddf4609 100644 --- a/trunk/paradiseo-moeo/tutorial/Lesson1/Sch1.cpp +++ b/trunk/paradiseo-moeo/tutorial/Lesson1/Sch1.cpp @@ -67,10 +67,10 @@ typedef moeoRealObjectiveVector < Sch1ObjectiveVectorTraits > Sch1ObjectiveVecto // multi-objective evolving object for the Sch1 problem -class Sch1 : public moeoRealVector < Sch1ObjectiveVector, double, double > +class Sch1 : public moeoRealVector < Sch1ObjectiveVector > { public: - Sch1() : moeoRealVector < Sch1ObjectiveVector, double, double > (1) + Sch1() : moeoRealVector < Sch1ObjectiveVector > (1) {} }; diff --git a/trunk/paradiseo-moeo/tutorial/examples/flowshop/FlowShop.h b/trunk/paradiseo-moeo/tutorial/examples/flowshop/FlowShop.h index 993f901d8..11397b551 100644 --- a/trunk/paradiseo-moeo/tutorial/examples/flowshop/FlowShop.h +++ b/trunk/paradiseo-moeo/tutorial/examples/flowshop/FlowShop.h @@ -44,7 +44,7 @@ /** * Structure of the genotype for the flow-shop scheduling problem: a vector of unsigned int int. */ -class FlowShop: public moeoVector < FlowShopObjectiveVector , double , double , unsigned int > +class FlowShop: public moeoVector < FlowShopObjectiveVector , unsigned int > { public: