mirror of
https://github.com/wassname/simpeg.git
synced 2026-10-03 12:50:34 +08:00
Updates for memory optimization.
This commit is contained in:
1 parent
ea5ad4dd34
commit
dc04b5bac3
1 file changed
+1
@@ -178,6 +178,7 @@ class Minimize(object):
|
||||
self.printIter()
|
||||
if self.stoppingCriteria(): break
|
||||
self.searchDirection = self.findSearchDirection()
|
||||
del self.H #: Doing this saves memory, as it is not needed in the rest of the computations.
|
||||
p = self.scaleSearchDirection(self.searchDirection)
|
||||
xt, passLS = self.modifySearchDirection(p)
|
||||
if not passLS:
|
||||
|
||||
Reference in new issue
Block a user