Skip to content

Commit 4d8848f

Browse files
committed
[ModelicaSystemDoE] fix bool comparison
1 parent 1e33434 commit 4d8848f

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
@@ -2127,7 +2127,7 @@ def get_solutions(
21272127

21282128
sol_dict[resultfilename] = {}
21292129

2130-
if self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE] != True:
2130+
if not self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE]:
21312131
sol_dict[resultfilename]['msg'] = 'No result file available!'
21322132
sol_dict[resultfilename]['data'] = {}
21332133
continue

0 commit comments

Comments
 (0)