diff --git a/trunk/paradiseo-mo/tutorial/Lesson1/lesson1_neutralHC.cpp b/trunk/paradiseo-mo/tutorial/Lesson1/lesson1_neutralHC.cpp index 42d7c9d51..3d1451a8c 100644 --- a/trunk/paradiseo-mo/tutorial/Lesson1/lesson1_neutralHC.cpp +++ b/trunk/paradiseo-mo/tutorial/Lesson1/lesson1_neutralHC.cpp @@ -78,9 +78,9 @@ void main_function(int argc, char **argv) parser.processParam( vecSizeParam, "Representation" ); unsigned vecSize = vecSizeParam.value(); - eoValueParam stepParam(10, "nbStep", "Number of steps of the random walk", 'n'); + eoValueParam stepParam(10, "nbStepMax", "Number of steps of the random walk", 'n'); parser.processParam( stepParam, "Representation" ); - unsigned nbStep = stepParam.value(); + unsigned nbStepMax = stepParam.value(); // the name of the "status" file where all actual parameter values will be saved string str_status = parser.ProgramName() + ".status"; // default value @@ -157,7 +157,7 @@ void main_function(int argc, char **argv) * * ========================================================= */ - moNeutralHC hc(neighborhood, fullEval, neighborEval, nbStep); + moNeutralHC hc(neighborhood, fullEval, neighborEval, nbStepMax); /* ========================================================= *