Typos in comments
This commit is contained in:
parent
576249509b
commit
70caa91b22
1 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ public:
|
|||
lastImprovement = thisGeneration;
|
||||
} else {
|
||||
if (thisGeneration - lastImprovement > repSteadyGenerations) {
|
||||
cout << "STOP in eoSteadyFitContnue: Done " << repSteadyGenerations
|
||||
cout << "STOP in eoSteadyFitContinue: Done " << repSteadyGenerations
|
||||
<< " generations without improvement\n";
|
||||
return false;
|
||||
}
|
||||
|
|
@ -73,7 +73,7 @@ public:
|
|||
steadyState = true;
|
||||
bestSoFar = bestCurrentFitness;
|
||||
lastImprovement = thisGeneration;
|
||||
cout << "eoSteadyFitContnue: Done the minimum number of generations\n";
|
||||
cout << "eoSteadyFitContinue: Done the minimum number of generations\n";
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Reference in a new issue