Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 5384da6

Browse files
committedJul 8, 2016
Fix a bit of slight sloppiness in variable usage.
The "'atlas' in libs" line should really be "'atlas' in libraries" This was still working due to Python's loop variable leakage, but from the logic it's clear that the `libraries` variable was intended to be used here.
1 parent db5b361 commit 5384da6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

Diff for: ‎build/pkgs/atlas/spkg-install

+2-1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ if 'SAGE_ATLAS_LIB' in os.environ:
143143

144144
paths = [ ATLAS_LIB, os.path.join(ATLAS_LIB, 'lib64'), os.path.join(ATLAS_LIB, 'lib') ]
145145
ATLAS_LIB = None
146+
libraries = []
146147
for libs in libraries_sets:
147148
for path in paths:
148149
if is_atlas_lib_path(path, libs):
@@ -209,7 +210,7 @@ if 'SAGE_ATLAS_LIB' in os.environ:
209210
for lib in libraries + libraries_optional:
210211
symlinkOSlibrary(prefix+lib)
211212

212-
if 'atlas' in libs:
213+
if 'atlas' in libraries:
213214
write_pc_file(['cblas', 'atlas'], 'cblas')
214215
write_pc_file(['f77blas', 'atlas'], 'blas')
215216
# The inclusion of cblas is not a mistake. ATLAS' lapack include

0 commit comments

Comments
 (0)
This repository has been archived.