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:
parent
f3e1e35ea3
commit
5cbbe83a0e
6 changed files with 7 additions and 7 deletions
|
|
@ -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;
|
||||||
};
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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 );
|
||||||
|
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -334,7 +334,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
};
|
}
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
};
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue