diff --git a/dakota_interface.py b/dakota_interface.py index 5c6c0bd..2d409e9 100644 --- a/dakota_interface.py +++ b/dakota_interface.py @@ -116,7 +116,7 @@ def process(fn_json_args): args = pp[1:] if fn == 'self': r = bps[args[1]] - inter[args[1]] = bps[args[1]] + inter[rn] = bps[args[1]] else: r = eval(f'dpf.{fn}')(interface_args, params, bps, inter, *args) # results[rn].function = r