From cec8f9136aa87d27aec88a86ae34fe96aec163e2 Mon Sep 17 00:00:00 2001 From: evomarc Date: Fri, 19 Apr 2002 14:06:50 +0000 Subject: [PATCH] Templatized apply added a return statement --- eo/tutorial/Templates/MyStructEA.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eo/tutorial/Templates/MyStructEA.cpp b/eo/tutorial/Templates/MyStructEA.cpp index 64aa10b2..b8ec1bb1 100644 --- a/eo/tutorial/Templates/MyStructEA.cpp +++ b/eo/tutorial/Templates/MyStructEA.cpp @@ -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(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; }