Skip to content

Commit b0eee45

Browse files
committed
[ModelicaSystemDoE] fix bool comparison
1 parent d0a6606 commit b0eee45

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
@@ -2143,7 +2143,7 @@ def get_solutions(
21432143

21442144
sol_dict[resultfilename] = {}
21452145

2146-
if self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE] != True:
2146+
if not self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE]:
21472147
sol_dict[resultfilename]['msg'] = 'No result file available!'
21482148
sol_dict[resultfilename]['data'] = {}
21492149
continue

0 commit comments

Comments
 (0)