Fixed error when the 'mkl' package is not installed.'

This commit is contained in:
Brendan Smithyman
2015-06-22 14:42:11 -04:00
parent 522c6c943e
commit 0cd0308d44
+1 -2
View File
@@ -539,10 +539,9 @@ class RemoteInterface(object):
def _adjustMKLVectorization(nt=1):
try:
import mkl
mkl.set_num_threads(nt)
except ImportError:
pass
finally:
mkl.set_num_threads(nt)
@staticmethod
def _cdSame(rc):