Skip to content

Commit e64508d

Browse files
committed
??? fix
1 parent 22b7ca1 commit e64508d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

OMPython/ModelicaSystem.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,11 @@ def _set_compatibility_helper(
151151
args: Any,
152152
kwargs: dict[str, Any],
153153
) -> dict[str, Any]:
154-
input_args = None
154+
input_args = []
155155
if len(args) == 1:
156-
input_args = args[0]
157-
if input_args is None and pkey in kwargs:
158-
input_args = kwargs[pkey]
156+
input_args.append(args[0])
157+
elif pkey in kwargs:
158+
input_args.append(kwargs[pkey])
159159

160160
# the code below is based on _prepare_input_data2()
161161

0 commit comments

Comments
 (0)