Make compilation unit rtengine/ciecam02.cc -Wextra clean, #4155

This commit is contained in:
heckflosse
2017-10-22 01:54:12 +02:00
parent 3570550ac9
commit 15108af3a7
4 changed files with 15 additions and 20 deletions

View File

@@ -1986,7 +1986,7 @@ void PerceptualToneCurve::Apply(float &r, float &g, float &b, PerceptualToneCurv
Ciecam02::jch2xyz_ciecam02float( x, y, z,
J, C, h,
xw, yw, zw,
f, c, nc, 1, pow1, nbb, ncb, fl, cz, d, aw );
c, nc, 1, pow1, nbb, ncb, fl, cz, d, aw );
if (!isfinite(x) || !isfinite(y) || !isfinite(z)) {
// can happen for colors on the rim of being outside gamut, that worked without chroma scaling but not with. Then we return only the curve's result.