We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efaa2a3 commit e40b842Copy full SHA for e40b842
1 file changed
OMPython/modelica_system_abc.py
@@ -1030,7 +1030,7 @@ def setInputs(
1030
1031
val_evaluated = ast.literal_eval(val)
1032
val_evaluated_checked: list[tuple[float, float]] = []
1033
- if isinstance(val_evaluated, (int, numbers.Real)):
+ if isinstance(val_evaluated, (int, float)):
1034
val_evaluated_checked.append((float(self._simulate_options["startTime"]), float(val)))
1035
val_evaluated_checked.append((float(self._simulate_options["stopTime"]), float(val)))
1036
elif isinstance(val_evaluated, list):
0 commit comments