Templatized apply

added a return statement
This commit is contained in:
evomarc 2002-04-19 14:06:50 +00:00
commit cec8f9136a

View file

@ -167,7 +167,7 @@ int main(int argc, char* argv[])
//// GO //// GO
/////// ///////
// evaluate intial population AFTER help and status in case it takes time // 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 // if you want to print it out
// cout << "Initial Population\n"; // cout << "Initial Population\n";
// pop.sortedPrintOn(cout); // pop.sortedPrintOn(cout);
@ -184,4 +184,5 @@ int main(int argc, char* argv[])
{ {
cout << e.what() << endl; cout << e.what() << endl;
} }
return 0;
} }