Skip to content

Commit ce7b6f5

Browse files
committed
[ModelicaSystemDoE] fix bool comparison
1 parent 44f50db commit ce7b6f5

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
@@ -2086,7 +2086,7 @@ def get_solutions(
20862086

20872087
sol_dict[resultfilename] = {}
20882088

2089-
if self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE] != True:
2089+
if not self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE]:
20902090
sol_dict[resultfilename]['msg'] = 'No result file available!'
20912091
sol_dict[resultfilename]['data'] = {}
20922092
continue

0 commit comments

Comments
 (0)