Forgot test.

This commit is contained in:
quemy 2012-12-21 19:21:39 +01:00
commit 0f1add5c6a
3 changed files with 80 additions and 5 deletions

View file

@ -56,7 +56,7 @@ of specified islands, built with same parameters.
*/
template<template <class> class EOAlgo, class EOT, class... IslandInit>
std::vector<eoPop<EOT>> IslandModelWrapper(unsigned _islandNumber, AbstractTopology& _topo, unsigned _popSize, eoInit<EOT> &_chromInit, IslandInit... args)
std::vector<eoPop<EOT>> IslandModelWrapper(unsigned _islandNumber, AbstractTopology& _topo, unsigned _popSize, eoInit<EOT> &_chromInit, IslandInit&&... args)
{
// Model creation
IslandModel<EOT> model(_topo);