From d6eb2096109122e223e194c6592138cf2d8f1923 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 4 Dec 2016 20:23:26 +0100 Subject: Fix error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/colour.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/colour.py b/src/colour.py index 3bb83a2..3b248b2 100644 --- a/src/colour.py +++ b/src/colour.py @@ -150,7 +150,7 @@ def ciexyz_to_cielab(x, y, z): ''' x /= 0.95047 z /= 1.08883 - f = lambda c : c ** 1 / 3 if c > 0.00885642 else (7.78 + 703 / 99900) * c + 0.1379310 + f = lambda c : c ** (1 / 3) if c > 0.00885642 else (7.78 + 703 / 99900) * c + 0.1379310 l = 116 * f(y) - 16 a = 500 * (f(x) - f(y)) b = 200 * (f(y) - f(z)) -- cgit v1.2.3-70-g09d2