mirror of
https://github.com/wassname/simpeg.git
synced 2026-08-16 11:28:21 +08:00
Decrease the number of iterations on the EM derivatives.
This is to increase the speed at which travis runs tests.
This commit is contained in:
@@ -38,7 +38,7 @@ def derivTest(fdemType, comp):
|
|||||||
survey = prb.survey
|
survey = prb.survey
|
||||||
def fun(x):
|
def fun(x):
|
||||||
return survey.dpred(x), lambda x: prb.Jvec(x0, x)
|
return survey.dpred(x), lambda x: prb.Jvec(x0, x)
|
||||||
return Tests.checkDerivative(fun, x0, num=3, plotIt=False, eps=FLR)
|
return Tests.checkDerivative(fun, x0, num=2, plotIt=False, eps=FLR)
|
||||||
|
|
||||||
|
|
||||||
class FDEM_DerivTests(unittest.TestCase):
|
class FDEM_DerivTests(unittest.TestCase):
|
||||||
|
|||||||
Reference in New Issue
Block a user