summaryrefslogtreecommitdiffstats
path: root/src/colour.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-03-10 20:22:12 +0100
committerMattias Andrée <maandree@operamail.com>2014-03-10 20:22:12 +0100
commitc4940c036ba1a39e45dba1c095d998c3ffe9f4d3 (patch)
tree5a0727ce876ecf8568e1a9e0ebad1a6d3eb3215e /src/colour.py
parentadd EDID support (diff)
downloadblueshift-c4940c036ba1a39e45dba1c095d998c3ffe9f4d3.tar.gz
blueshift-c4940c036ba1a39e45dba1c095d998c3ffe9f4d3.tar.bz2
blueshift-c4940c036ba1a39e45dba1c095d998c3ffe9f4d3.tar.xz
whitespace1.8
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/colour.py')
-rw-r--r--src/colour.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/colour.py b/src/colour.py
index c169456..e0cc490 100644
--- a/src/colour.py
+++ b/src/colour.py
@@ -169,7 +169,7 @@ def cielab_to_xiexyz(l, a, b):
y = (l + 16) / 116
x = a / 500 + y
z = y - b / 200
- f = lambda c : c ** 3 if c ** 3 > 0.00885642 else (c - 0.1379310) / (7.78 + 703 / 99900)
+ f = lambda c : c ** 3 if c ** 3 > 0.00885642 else (c - 0.1379310) / (7.78 + 703 / 99900)
(x, y, z) = [f(c) for c in (x, y, z)]
x *= 0.95047
z *= 1.08883