From 62c946b37f5f7fdb1beebc5c038ab1b0e299381f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 7 Jan 2016 21:26:28 +0100 Subject: m 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 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 -- cgit v1.2.3-70-g09d2