From 814799cbabf73a2551532afa7f9e7128d9ae7bba Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 6 Oct 2016 14:54:30 -0400 Subject: [PATCH] Rename a variable to make pylint happy. --- src/dunshire/matrices.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dunshire/matrices.py b/src/dunshire/matrices.py index 5acc7a8..0d97c0c 100644 --- a/src/dunshire/matrices.py +++ b/src/dunshire/matrices.py @@ -55,9 +55,9 @@ def eigenvalues(real_matrix): """ domain_dim = real_matrix.size[0] # Assume ``real_matrix`` is square. - W = matrix(0, (domain_dim, 1), tc='d') - syev(real_matrix, W) - return list(W) + eigs = matrix(0, (domain_dim, 1), tc='d') + syev(real_matrix, eigs) + return list(eigs) def identity(domain_dim): -- 2.44.2