We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b4be1b commit 6e7cc90Copy full SHA for 6e7cc90
1 file changed
OMPython/ModelicaSystem.py
@@ -2666,5 +2666,8 @@ def _prepare_structure_parameters(
2666
pc_structure: Tuple,
2667
param_structure: dict[str, list[str] | list[int] | list[float]],
2668
) -> dict[str, str | int | float]:
2669
- raise ModelicaSystemError(f"{self.__class__.__name__} can not handle structure parameters as it uses a "
2670
- "pre-compiled binary of model.")
+ if len(param_structure.keys()) > 0:
+ raise ModelicaSystemError(f"{self.__class__.__name__} can not handle structure parameters as it uses a "
2671
+ "pre-compiled binary of model.")
2672
+
2673
+ return {}
0 commit comments