From a3d1c041dc7e2433a32e8487ad68974b56384886 Mon Sep 17 00:00:00 2001 From: Su Tian Date: Thu, 25 Mar 2021 18:15:39 -0400 Subject: [PATCH] 0325 --- dakota_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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