summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/colour.py2
1 files changed, 1 insertions, 1 deletions
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))