mirror of
https://github.com/wassname/simpeg.git
synced 2026-08-16 11:28:21 +08:00
col area and correct divergence calculation.
This commit is contained in:
@@ -127,6 +127,7 @@ def callHooks(match):
|
||||
def dependentProperty(name, value, children, doc):
|
||||
def fget(self): return getattr(self,name,value)
|
||||
def fset(self, val):
|
||||
if getattr(self,name,value) == val: return # it is the same!
|
||||
for child in children:
|
||||
if hasattr(self, child):
|
||||
delattr(self, child)
|
||||
|
||||
Reference in New Issue
Block a user