From 0f199471cfe47dbe107eb7ef3bcdea09a0045fde Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 12 Jan 2016 23:47:50 +0100 Subject: add missing minus MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/blackbody.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blackbody.py b/src/blackbody.py index 4974b7e..1ad9b54 100644 --- a/src/blackbody.py +++ b/src/blackbody.py @@ -520,7 +520,7 @@ def simple_whitepoint(temperature): ''' r, g, b, temp = 1, 1, 1, temperature / 100 if temp > 66: - r = 1.292936186 * (temp - 60) ** 0.1332047592 + r = 1.292936186 * (temp - 60) ** -0.1332047592 g = 1.129890861 * (temp - 60) ** -0.0755148492 else: g = 0.390081579 * math.log(temp) - 0.631841444 -- cgit v1.2.3-70-g09d2