mirror of
https://github.com/wassname/simpeg.git
synced 2026-07-12 03:18:12 +08:00
Documentation, type(x) == np.ndarray --> isinstance(x,np.ndarray), and Model (untested.)
This commit is contained in:
+1
-1
@@ -138,7 +138,7 @@ class BaseTimeProblem(BaseProblem):
|
||||
|
||||
@timeSteps.setter
|
||||
def timeSteps(self, value):
|
||||
if type(value) is np.ndarray:
|
||||
if isinstance(value, np.ndarray):
|
||||
self._timeSteps = value
|
||||
del self.timeMesh
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user