Skip to content

Commit 76df7a0

Browse files
committed
[ModelicaSystemDoE] fix bool comparison
1 parent f09d785 commit 76df7a0

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
@@ -1981,7 +1981,7 @@ def get_solutions(
19811981

19821982
sol_dict[resultfilename] = {}
19831983

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

0 commit comments

Comments
 (0)