mirror of
https://github.com/wassname/simpeg.git
synced 2026-07-12 20:45:47 +08:00
Moved testing code to the test directory. added __init__.py and some documentation.
This commit is contained in:
@@ -191,10 +191,6 @@ class Problem(object):
|
||||
"""
|
||||
return sdiag(np.exp(mkvc(m)))
|
||||
|
||||
def _test_modelTransformDeriv(self):
|
||||
m = np.random.rand(5)
|
||||
return checkDerivative(lambda m : [self.modelTransform(m), self.modelTransformDeriv(m)], m)
|
||||
|
||||
def misfit(self, m, u=None):
|
||||
"""
|
||||
:param numpy.array m: geophysical model
|
||||
|
||||
Reference in New Issue
Block a user