Segfault in lut.h, fixes #4390
This commit is contained in:
parent
9f89ff2d68
commit
c4068444a8
@ -2745,7 +2745,7 @@ void ImProcFunctions::ContAllL (float *koeLi[12], float *maxkoeLi, bool lipschit
|
|||||||
|
|
||||||
float edgePrecalc = 1.f + refin; //estimate edge "pseudo variance"
|
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
|
// if(exa) {//curve
|
||||||
float insigma = 0.666f; //SD
|
float insigma = 0.666f; //SD
|
||||||
float logmax = log(MaxP[level]); //log Max
|
float logmax = log(MaxP[level]); //log Max
|
||||||
|
Loading…
x
Reference in New Issue
Block a user