diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2016-01-07 21:26:28 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2016-01-07 21:26:28 +0100 |
commit | 62c946b37f5f7fdb1beebc5c038ab1b0e299381f (patch) | |
tree | 307e7456a7ec3f8dedb0e58b2e8a5e8d389a910d /src | |
parent | m (diff) | |
download | blueshift-62c946b37f5f7fdb1beebc5c038ab1b0e299381f.tar.gz blueshift-62c946b37f5f7fdb1beebc5c038ab1b0e299381f.tar.bz2 blueshift-62c946b37f5f7fdb1beebc5c038ab1b0e299381f.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-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 3d1e40c..3bb83a2 100644 --- a/src/colour.py +++ b/src/colour.py @@ -181,6 +181,6 @@ def delta_e(a, b): @param b:(float, float, float) The second colour @return :float The difference ''' - standard_to_cielab = lambda x : ciexyz_to_cielab(*linear_to_ciexyz(*standard_to_linear(*a))) + standard_to_cielab = lambda x : ciexyz_to_cielab(*linear_to_ciexyz(*standard_to_linear(*x))) return sum([(c1 - c2) ** 2 for c1, c2 in zip(standard_to_cielab(a), standard_to_cielab(b))]) ** 0.5 |