mirror of
https://github.com/wassname/simpeg.git
synced 2026-07-16 11:21:38 +08:00
bug fix for windows compatability on solver.
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ class Solver(object):
|
||||
warnings.warn("You should provide a preconditioner, M.", UserWarning)
|
||||
return
|
||||
M = options['M']
|
||||
if type(M) is sp.linalg.LinearOperator:
|
||||
if isinstance(M, sp.linalg.LinearOperator):
|
||||
return
|
||||
PreconditionerList = ['J','GS']
|
||||
if type(M) is str:
|
||||
|
||||
Reference in New Issue
Block a user