removed bad semicolon at the end of a "{}" bloc which is not a class/template.

Debugged using g++ flags (see CMakeLists.txt at the root)
This commit is contained in:
tlegrand 2008-01-15 13:53:18 +00:00
commit 5cbbe83a0e
6 changed files with 7 additions and 7 deletions

View file

@ -228,7 +228,7 @@ phenotype eoChromEvaluator(const Chrom& chrom)
p.mse_error = mse::error(chrom, *val_set); p.mse_error = mse::error(chrom, *val_set);
return p; return p;
}; }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------

View file

@ -58,7 +58,7 @@ double sextic_polynomial(double x)
double result=0; double result=0;
result = pow(x,6) - (2*pow(x,4)) + pow(x,2); result = pow(x,6) - (2*pow(x,4)) + pow(x,2);
return result; return result;
}; }
// we use the following functions for the basic math functions // we use the following functions for the basic math functions
@ -158,7 +158,7 @@ void init(vector<Node> &initSequence)
initSequence.push_back( OpDIVIDE ); initSequence.push_back( OpDIVIDE );
}; }

View file

@ -334,7 +334,7 @@ int main(int argc, char *argv[])
}; }

View file

@ -63,7 +63,7 @@ phenotype eoChromEvaluator(const Chrom& chrom)
// return black * points_per_black + white * points_per_white; // return black * points_per_black + white * points_per_white;
return black * chrom.size() + white; return black * chrom.size() + white;
}; }
const unsigned default_length = 8; const unsigned default_length = 8;
const unsigned default_colors = 8; const unsigned default_colors = 8;

View file

@ -12,4 +12,4 @@
std::istream & operator >> ( std::istream& _is, eoPersistent& _o ) { std::istream & operator >> ( std::istream& _is, eoPersistent& _o ) {
_o.readFrom(_is); _o.readFrom(_is);
return _is; return _is;
}; }

View file

@ -16,7 +16,7 @@
std::ostream & operator << ( std::ostream& _os, const eoPrintable& _o ) { std::ostream & operator << ( std::ostream& _os, const eoPrintable& _o ) {
_o.printOn(_os); _o.printOn(_os);
return _os; return _os;
}; }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------