From 60c341c236b0f20f298d0785eab2fe0b62268521 Mon Sep 17 00:00:00 2001 From: Desmis Date: Tue, 24 Mar 2020 11:30:31 +0100 Subject: [PATCH] Wavelet - more --- rtengine/ipwavelet.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rtengine/ipwavelet.cc b/rtengine/ipwavelet.cc index 54d103b7b..a899f5a9a 100644 --- a/rtengine/ipwavelet.cc +++ b/rtengine/ipwavelet.cc @@ -1722,6 +1722,9 @@ void ImProcFunctions::WaveletcontAllL(LabImage * labco, float ** varhue, float * } +#ifdef _OPENMP + #pragma omp barrier +#endif if((cp.conres != 0.f || cp.conresH != 0.f) && cp.resena && cp.oldsh) { // cp.conres = 0.f and cp.comresH = 0.f means that all will be multiplied by 1.f, so we can skip this step #ifdef _OPENMP