Templatized apply
added a return statement
This commit is contained in:
parent
9a56356c33
commit
cec8f9136a
1 changed files with 2 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ int main(int argc, char* argv[])
|
|||
//// GO
|
||||
///////
|
||||
// evaluate intial population AFTER help and status in case it takes time
|
||||
apply(eval, pop);
|
||||
apply<Indi>(eval, pop);
|
||||
// if you want to print it out
|
||||
// cout << "Initial Population\n";
|
||||
// pop.sortedPrintOn(cout);
|
||||
|
|
@ -184,4 +184,5 @@ int main(int argc, char* argv[])
|
|||
{
|
||||
cout << e.what() << endl;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue