Fix T39686: nused omp firstprivate variable sphdata in particles

This commit is contained in:
Sergey Sharybin 2014-05-29 15:19:40 +06:00
parent 75135cfa9b
commit 3e0d5898e5
Notes: blender-bot 2023-02-14 10:49:35 +01:00
Referenced by issue #39686, Unused omp firstprivate variable sphdata at line 4439 of particle.c
1 changed files with 1 additions and 1 deletions

View File

@ -4436,7 +4436,7 @@ static void dynamics_step(ParticleSimulationData *sim, float cfra)
* and Monaghan). Note that, unlike double-density relaxation,
* this algorithm is separated into distinct loops. */
#pragma omp parallel for firstprivate (sphdata) private (pa) schedule(dynamic,5)
#pragma omp parallel for private (pa) schedule(dynamic,5)
LOOP_DYNAMIC_PARTICLES {
basic_integrate(sim, p, pa->state.time, cfra);
}