Minor cleanup

This commit is contained in:
Ingo Weyrich
2020-02-26 16:36:00 +01:00
parent cde687c9d7
commit 5960899c04
2 changed files with 7 additions and 23 deletions

View File

@@ -187,7 +187,7 @@ public:
static inline float computeXYZ2LabY(float f)
{
if (f < 0.f) {
return 327.68 * (kappa * f / MAXVALF);
return 327.68f * (kappa * f / MAXVALF);
} else if (f > 65535.f) {
return 327.68f * (116.f * xcbrtf(f / MAXVALF) - 16.f);
} else {