mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-27 19:48:52 +08:00
bug fix
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ class BaseInversion(object):
|
||||
@directiveList.setter
|
||||
def directiveList(self, value):
|
||||
if type(value) is list:
|
||||
value = Directives.DirectiveList(value)
|
||||
value = Directives.DirectiveList(*value)
|
||||
assert isinstance(value, Directives.DirectiveList), 'Must be a DirectiveList'
|
||||
self._directiveList = value
|
||||
self._directiveList.inversion = self
|
||||
|
||||
Reference in New Issue
Block a user