summaryrefslogtreecommitdiff
path: root/numpy/linalg/lapack_lite
diff options
context:
space:
mode:
authordefault-303 <ajayds2001@gmail.com>2021-05-26 07:29:49 +0530
committerdefault-303 <ajayds2001@gmail.com>2021-05-26 07:29:49 +0530
commit115ed1d8d5432ff4307d1e07819fec33bb72755c (patch)
tree96819ebf197f11f6f1c2237daf2b6544a1923498 /numpy/linalg/lapack_lite
parentb3e54cc7ea0808642829b9aa71fa8e51dcc6050e (diff)
downloadnumpy-115ed1d8d5432ff4307d1e07819fec33bb72755c.tar.gz
MAINT: Removed suitable unused variables shown in LGTM
Diffstat (limited to 'numpy/linalg/lapack_lite')
-rw-r--r--numpy/linalg/lapack_lite/fortran.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/linalg/lapack_lite/fortran.py b/numpy/linalg/lapack_lite/fortran.py
index 3aaefb92f..fc09f0808 100644
--- a/numpy/linalg/lapack_lite/fortran.py
+++ b/numpy/linalg/lapack_lite/fortran.py
@@ -110,7 +110,7 @@ def getDependencies(filename):
for lineno, line in fortranSourceLines(fo):
m = external_pat.match(line)
if m:
- names = line = line[m.end():].strip().split(',')
+ names = line[m.end():].strip().split(',')
names = [n.strip().lower() for n in names]
names = [n for n in names if n]
routines.extend(names)