Skip to content
Browse files

BF: actually load liblapack.so only when it was diagnozed to be avail…

…able
  • Loading branch information...
1 parent 540a49a commit d55ff7ed5e841d0e47c5e728948180b48ee907a8 @yarikoptic committed Apr 27, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 mvpa2/support/lapack_svd.py
View
3 mvpa2/support/lapack_svd.py
@@ -8,7 +8,8 @@
from numpy.linalg import LinAlgError
-lapacklib = cdll.LoadLibrary('liblapack.so')
+if externals.exists('liblapack.so'):
+ lapacklib = cdll.LoadLibrary('liblapack.so')
__all__ = ['svd']

0 comments on commit d55ff7e

Please sign in to comment.
Something went wrong with that request. Please try again.