Fix a bug in conversion functions for heterogeneous model

This commit is contained in:
quemy 2012-12-04 23:17:27 +01:00
commit aa9c01568b
3 changed files with 5 additions and 8 deletions

View file

@ -75,7 +75,7 @@ public:
* @param args Parameters to construct the algorithm.
*/
template<class... Args>
Island(std::function<EOT&&(bEOT&)> _convertFromBase, std::function<bEOT&&(EOT&)> _convertToBase, eoPop<EOT>& pop, IntPolicy<EOT>& _intPolicy, MigPolicy<EOT>& _migPolicy, Args&... args);
Island(std::function<EOT(bEOT&)> _convertFromBase, std::function<bEOT(EOT&)> _convertToBase, eoPop<EOT>& pop, IntPolicy<EOT>& _intPolicy, MigPolicy<EOT>& _migPolicy, Args&... args);
/**
* Constructor
* @param _popSize Size of the algorithm population.