apply -> apply<EOT> for MSVC
This commit is contained in:
parent
b51d40e24f
commit
6ddec3bdce
3 changed files with 3 additions and 3 deletions
|
|
@ -52,7 +52,7 @@ int main(int argc, char* argv[])
|
|||
//// GO
|
||||
///////
|
||||
// evaluate intial population AFTER help and status in case it takes time
|
||||
apply(eval, pop);
|
||||
apply<EOT>(eval, pop);
|
||||
// print it out
|
||||
cout << "Initial Population\n";
|
||||
pop.sortedPrintOn(cout);
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ void runAlgorithm(EOT, eoParser& _parser, eoState& _state)
|
|||
// initialize the population - and evaluate
|
||||
// yes, this is representation indepedent once you have an eoInit
|
||||
eoPop<EOT>& pop = make_pop(_parser, _state, init);
|
||||
apply(eval, pop);
|
||||
apply<EOT>(eval, pop);
|
||||
|
||||
// stopping criteria
|
||||
eoContinue<EOT> & term = make_continue(_parser, _state, eval);
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ int main(int argc, char* argv[])
|
|||
//// GO
|
||||
///////
|
||||
// evaluate intial population AFTER help and status in case it takes time
|
||||
apply(eval, pop);
|
||||
apply<EOT>(eval, pop);
|
||||
// print it out
|
||||
cout << "Initial Population\n";
|
||||
pop.sortedPrintOn(cout);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue