* apply.h: size variable missing without openmp
This commit is contained in:
parent
77a92ff52e
commit
54e2a8b91e
2 changed files with 3 additions and 3 deletions
|
|
@ -40,12 +40,12 @@
|
|||
template <class EOT>
|
||||
void apply(eoUF<EOT&, void>& _proc, std::vector<EOT>& _pop)
|
||||
{
|
||||
size_t size = _pop.size();
|
||||
|
||||
#ifdef _OPENMP
|
||||
|
||||
omp_set_num_threads(eo::parallel.nthreads());
|
||||
|
||||
size_t size = _pop.size();
|
||||
|
||||
double t1 = omp_get_wtime();
|
||||
|
||||
if (!eo::parallel.isDynamic())
|
||||
|
|
|
|||
Reference in a new issue