From 33733658bea525828a47bb3f3b1884a5ac6c63ad Mon Sep 17 00:00:00 2001 From: Ingo Weyrich Date: Sun, 14 Jun 2020 22:19:07 +0200 Subject: [PATCH] Fix a bug I introduced with last merge commit --- rtengine/ipwavelet.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/ipwavelet.cc b/rtengine/ipwavelet.cc index 1dc33e726..c5877b6eb 100644 --- a/rtengine/ipwavelet.cc +++ b/rtengine/ipwavelet.cc @@ -2143,6 +2143,7 @@ void ImProcFunctions::WaveletcontAllL(LabImage * labco, float ** varhue, float * koeLi[i] = &koeLibuffer[i * W_L * H_L]; } + float maxkoeLi[12] = {0.f}; #ifdef _OPENMP #pragma omp parallel num_threads(wavNestedLevels) if (wavNestedLevels>1) #endif @@ -2157,7 +2158,6 @@ void ImProcFunctions::WaveletcontAllL(LabImage * labco, float ** varhue, float * constexpr float eddlow = 15.f; float eddlipinfl = 0.005f * cp.edgsens + 0.4f; float eddlipampl = 1.f + cp.edgampl / 50.f; - float maxkoeLi[12] = {0.f}; if (cp.detectedge) { //enabled Lipschitz control...more memory..more time... const std::unique_ptr tmCBuffer(new float[H_L * W_L]);