Skip to content

Commit 0b4fee1

Browse files
committed
??? fix
1 parent d8af8f3 commit 0b4fee1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OMPython/ModelicaSystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ def model(
428428
raise ModelicaSystemError("Can not reuse this instance of ModelicaSystem "
429429
f"defined for {repr(self._model_name)}!")
430430

431-
if name is None or not isinstance(name, str):
431+
if model_name is None or not isinstance(model_name, str):
432432
raise ModelicaSystemError("A model name must be provided!")
433433

434434
if libraries is None:

0 commit comments

Comments
 (0)