Skip to content

Commit e4aba20

Browse files
committed
[ModelicaSystemDoE] fix bool comparison
1 parent 582d97b commit e4aba20

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
@@ -2106,7 +2106,7 @@ def get_solutions(
21062106

21072107
sol_dict[resultfilename] = {}
21082108

2109-
if self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE] != True:
2109+
if not self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE]:
21102110
sol_dict[resultfilename]['msg'] = 'No result file available!'
21112111
sol_dict[resultfilename]['data'] = {}
21122112
continue

0 commit comments

Comments
 (0)