Skip to content

Commit bb746f7

Browse files
committed
[ModelicaSystemDoE] fix bool comparison
1 parent aeb0b4c commit bb746f7

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
@@ -1989,7 +1989,7 @@ def get_solutions(
19891989

19901990
sol_dict[resultfilename] = {}
19911991

1992-
if self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE] != True:
1992+
if not self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE]:
19931993
sol_dict[resultfilename]['msg'] = 'No result file available!'
19941994
sol_dict[resultfilename]['data'] = {}
19951995
continue

0 commit comments

Comments
 (0)