diff --git a/eo/test/t-openmp.cpp b/eo/test/t-openmp.cpp index d098ac35f..0e5f72388 100644 --- a/eo/test/t-openmp.cpp +++ b/eo/test/t-openmp.cpp @@ -28,6 +28,7 @@ int main(int ac, char** av) eoRealInitBounded& init = make_genotype( parser, state, EOT() ); eoPop< EOT >& pop = make_pop( parser, state, init ); + eoPop< EOT >& pop2 = make_pop( parser, state, init ); eoEvalFuncPtr< EOT, double, const std::vector< double >& > mainEval( real_value ); eoEvalFuncCounter eval( mainEval ); @@ -45,8 +46,6 @@ int main(int ac, char** av) //sleep(1); double ts2 = omp_get_wtime(); - eoPop< EOT >& pop2 = make_pop( parser, state, init ); - double tp1 = omp_get_wtime(); omp_apply< EOT >( eval, pop2 ); //sleep(1);