mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-30 08:46:27 +08:00
should be regularizing m-mref
This commit is contained in:
@@ -275,8 +275,8 @@ class Tikhonov(BaseRegularization):
|
||||
@Utils.timeIt
|
||||
def eval(self, m):
|
||||
if self.smoothModel == True:
|
||||
r1 = self.W * ( self.mapping * (m) )
|
||||
r2 = self.Ws * ( self.mapping * (self.mref) )
|
||||
r1 = self.W * ( self.mapping * (m- self.mref) )
|
||||
r2 = self.Ws * ( self.mapping * (m - self.mref) )
|
||||
return 0.5*(r1.dot(r1)+r2.dot(r2))
|
||||
elif self.smoothModel == False:
|
||||
r = self.W * ( self.mapping * (m - self.mref) )
|
||||
|
||||
Reference in New Issue
Block a user