We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fab662 commit 11fca2eCopy full SHA for 11fca2e
1 file changed
OMPython/ModelicaSystem.py
@@ -42,7 +42,6 @@
42
import textwrap
43
import threading
44
from typing import Any, Optional
45
-import warnings
46
import xml.etree.ElementTree as ET
47
48
import numpy as np
@@ -1838,7 +1837,8 @@ def prepare(self) -> int:
1838
1837
}
1839
)
1840
1841
- self._mod.setParameters(sim_param_simple)
+ # TODO: this needs a real fix!
+ self._mod.setParameters(**sim_param_simple) # type: ignore[arg-type]
1842
mscmd = self._mod.simulate_cmd(
1843
result_file=resultfile,
1844
timeout=self._timeout,
0 commit comments