mirror of
https://github.com/wassname/simpeg.git
synced 2026-07-12 19:29:42 +08:00
fix regularization
This commit is contained in:
@@ -14,7 +14,6 @@ class BaseRegularization(object):
|
||||
|
||||
modelPair = Model.BaseModel #: Some regularizations only work on specific models
|
||||
|
||||
mesh = None #: A SimPEG.Mesh instance.
|
||||
model = None #: A SimPEG.Model instance.
|
||||
|
||||
counter = None
|
||||
@@ -23,7 +22,6 @@ class BaseRegularization(object):
|
||||
Utils.setKwargs(self, **kwargs)
|
||||
assert isinstance(model, self.modelPair), "Incorrect model for this regularization"
|
||||
self.model = model
|
||||
self.mesh = model.mesh
|
||||
|
||||
mref = Parameters.ParameterProperty('mref', default=None, doc='Reference model.')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user