Solver in Problem Class, now bfgs uses that.

This commit is contained in:
rowanc1
2014-05-19 11:00:10 -07:00
parent a10a090ff2
commit 412a24e678
2 changed files with 7 additions and 3 deletions
+3 -3
View File
@@ -63,9 +63,9 @@ class BaseInvProblem(object):
self.curModel = m0
print 'SimPEG.InvProblem is setting bfgsH0 to the inverse of the eval2Deriv. \n ***Done using direct methods***'
self.opt.bfgsH0 = Solver(self.reg.eval2Deriv(self.curModel))
print """SimPEG.InvProblem is setting bfgsH0 to the inverse of the eval2Deriv.
***Done using same solver as the problem***"""
self.opt.bfgsH0 = self.prob.Solver(self.reg.eval2Deriv(self.curModel))
@property
def warmstart(self):