diff options
author | Mattias Andrée <maandree@kth.se> | 2016-12-04 20:23:26 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-12-04 20:23:26 +0100 |
commit | d6eb2096109122e223e194c6592138cf2d8f1923 (patch) | |
tree | d2fcd9904de85339c420ed717b6692c9d742dbec /src | |
parent | Merge pull request #16 from jigpu/patch-1 (diff) | |
download | blueshift-d6eb2096109122e223e194c6592138cf2d8f1923.tar.gz blueshift-d6eb2096109122e223e194c6592138cf2d8f1923.tar.bz2 blueshift-d6eb2096109122e223e194c6592138cf2d8f1923.tar.xz |
Fix error
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src')
-rw-r--r-- | src/colour.py | 2 |
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)) |