We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8af8f3 commit 0b4fee1Copy full SHA for 0b4fee1
1 file changed
OMPython/ModelicaSystem.py
@@ -428,7 +428,7 @@ def model(
428
raise ModelicaSystemError("Can not reuse this instance of ModelicaSystem "
429
f"defined for {repr(self._model_name)}!")
430
431
- if name is None or not isinstance(name, str):
+ if model_name is None or not isinstance(model_name, str):
432
raise ModelicaSystemError("A model name must be provided!")
433
434
if libraries is None:
0 commit comments