diff options
Diffstat (limited to 'digikam/libs/lprof/cmslnr.cpp')
-rw-r--r-- | digikam/libs/lprof/cmslnr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/digikam/libs/lprof/cmslnr.cpp b/digikam/libs/lprof/cmslnr.cpp index 8e3b2776..696d2c70 100644 --- a/digikam/libs/lprof/cmslnr.cpp +++ b/digikam/libs/lprof/cmslnr.cpp @@ -191,7 +191,7 @@ BOOL OneTry(LPSAMPLEDCURVE XNorm, LPSAMPLEDCURVE YNorm, double a[]) LCMSHANDLE h; double ChiSq, OldChiSq; int i; - BOOL tqStatus = true; + BOOL Status = true; /* initial guesses */ @@ -213,7 +213,7 @@ BOOL OneTry(LPSAMPLEDCURVE XNorm, LPSAMPLEDCURVE YNorm, double a[]) for(i = 0; i < LEVENBERG_MARTQUARDT_ITERATE_MAX; i++) { if (!cmsxLevenbergMarquardtIterate(h)) { - tqStatus = false; + Status = false; break; } @@ -227,7 +227,7 @@ BOOL OneTry(LPSAMPLEDCURVE XNorm, LPSAMPLEDCURVE YNorm, double a[]) cmsxLevenbergMarquardtFree(h); - return tqStatus; + return Status; } /* Tries to fit gamma as per IEC 61966-2.1 using Levenberg-Marquardt method */ |