made stuff virtual

This commit is contained in:
maartenkeijzer 2007-08-31 13:45:46 +00:00
commit 1d4cfb0da8
3 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ public :
eoNSGA_I_Eval(double nicheWidth, eoEvalFunc<EOT>& eval) : eoMOEval<EOT>(eval), nicheSize(nicheWidth) {}
eoNSGA_I_Eval(double nicheWidth, eoPopEvalFunc<EOT>& eval) : eoMOEval<EOT>(eval), nicheSize(nicheWidth) {}
void operator()(eoPop<EOT>& parents, eoPop<EOT>& offspring) {
virutal void operator()(eoPop<EOT>& parents, eoPop<EOT>& offspring) {
eval(parents, offspring);
std::vector<EOT*> pop;