Fix non-OpenMP build warnings

This commit is contained in:
Flössie
2020-06-18 14:32:45 +02:00
parent 5d4d637cf5
commit c607b58b18
6 changed files with 48 additions and 14 deletions

View File

@@ -5194,8 +5194,9 @@ void ImProcFunctions::EPDToneMaplocal(int sp, LabImage *lab, LabImage *tmp1, uns
maxL = 1.f;
}
#ifdef _OPENMP
#pragma omp parallel for
#endif
for (i = 0; i < N; i++)
{
L[i] = (L[i] - minL) / maxL;