Segfault in lut.h, fixes #4390

This commit is contained in:
heckflosse 2018-02-12 15:12:06 +01:00
parent 9f89ff2d68
commit c4068444a8

View File

@ -2745,7 +2745,7 @@ void ImProcFunctions::ContAllL (float *koeLi[12], float *maxkoeLi, bool lipschit
float edgePrecalc = 1.f + refin; //estimate edge "pseudo variance"
if(cp.EDmet == 2) { //curve
if(cp.EDmet == 2 && MaxP[level] > 0.f) { //curve
// if(exa) {//curve
float insigma = 0.666f; //SD
float logmax = log(MaxP[level]); //log Max