Skip to content

Commit ef23825

Browse files
committed
f - [ModelicaSystemABC] additional checks for setInputs()
1 parent 177e32b commit ef23825

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OMPython/modelica_system_abc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,7 @@ def setInputs(
10451045
try:
10461046
val_evaluated_checked.append((float(item[0]), float(item[1])))
10471047
except ValueError as exc:
1048-
raise ModelicaSystemError("All elements of the input for setInput() should be convertable to "
1048+
raise ModelicaSystemError("All elements of the input for setInput() should be convertible to "
10491049
"type Tuple[float, float] - "
10501050
f"found [{repr(item[0])}, {repr(item[1])}] with types "
10511051
f"[{type(item[0])}, {type(item[1])}]!") from exc

0 commit comments

Comments
 (0)