From 0bb7dfc0bbd1954c00afa39d70d077fe7b76a2c3 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 3 Apr 2014 15:29:11 +0200 Subject: typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/aux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aux.py b/src/aux.py index cfe1e16..308df7e 100644 --- a/src/aux.py +++ b/src/aux.py @@ -110,7 +110,7 @@ def polynomially_interpolate_ramp(r, g, b): # TODO test, demo and document this A[i] -= A[k] * m # Eliminiate upper right for k in reversed(range(n)): - A[:k] = [A[i] - A[k] * M[i][k] / M[k][k] for i in range(k]] + A[:k] = [A[i] - A[k] * M[i][k] / M[k][k] for i in range(k)] # Eliminiate diagonal A = [A[k] / M[k][k] for k in range(n)] ## Construct interpolation function -- cgit v1.2.3-70-g09d2