invproblem changes

This commit is contained in:
rowanc1
2014-05-19 01:23:07 -07:00
parent f9328d6a0e
commit 4e29141fe7
4 changed files with 23 additions and 12 deletions
+2 -2
View File
@@ -122,8 +122,8 @@ class BetaEstimate_ByEig(InversionDirective):
if self.debug: print 'Calculating the beta0 parameter.'
m = self.invProb.m_current
u = self.invProb.u_current or self.prob.fields(m)
m = self.invProb.curModel
u = self.prob.fields(m)
x0 = np.random.rand(*m.shape)
t = x0.dot(self.dmisfit.eval2Deriv(m,x0,u=u))