main should return int

This commit is contained in:
mac 2000-08-10 16:34:05 +00:00
commit 173756916a

View file

@ -27,7 +27,7 @@ typedef eoMinimizingFitness FitT;
template <class EOT> template <class EOT>
void runAlgorithm(EOT, eoParser& _parser, eoState& _state, eoEsObjectiveBounds& _bounds); void runAlgorithm(EOT, eoParser& _parser, eoState& _state, eoEsObjectiveBounds& _bounds);
main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
// Create the command-line parser // Create the command-line parser
eoParser parser( argc, argv, "Basic EA for vector<float> with adaptive mutations"); eoParser parser( argc, argv, "Basic EA for vector<float> with adaptive mutations");