Skip to content

Commit 5d83272

Browse files
committed
[ModelicaSystemDoE] fix bool comparison
1 parent 63d56df commit 5d83272

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
@@ -1983,7 +1983,7 @@ def get_solutions(
19831983

19841984
sol_dict[resultfilename] = {}
19851985

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

0 commit comments

Comments
 (0)