mirror of
https://github.com/wassname/simpeg.git
synced 2026-07-01 18:04:36 +08:00
Fixed error when the 'mkl' package is not installed.'
This commit is contained in:
+1
-2
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user