Don't require OpenMP in sort creatures 2d example
This commit is contained in:
parent
d4e3cc623a
commit
64d85dd1c0
1 changed files with 2 additions and 0 deletions
|
|
@ -751,7 +751,9 @@ private:
|
|||
|
||||
std::vector<creature> evaluated_creatures(population_.size());
|
||||
|
||||
#ifdef _OPENMP
|
||||
#pragma omp parallel for
|
||||
#endif
|
||||
for (int i = 0; i < population_.size(); ++i)
|
||||
{
|
||||
auto & creature = population_[i];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue