Skip to content

Commit a9e92bd

Browse files
committed
[ModelicaSystemDoE] fix bool comparison
1 parent 9a01ac9 commit a9e92bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OMPython/ModelicaSystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1982,7 +1982,7 @@ def get_solutions(
19821982

19831983
sol_dict[resultfilename] = {}
19841984

1985-
if self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE] != True:
1985+
if not self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE]:
19861986
sol_dict[resultfilename]['msg'] = 'No result file available!'
19871987
sol_dict[resultfilename]['data'] = {}
19881988
continue

0 commit comments

Comments
 (0)