Skip to content

Commit b1d0dda

Browse files
committed
[ModelicaSystemDoE] fix bool comparison
1 parent 1d9e044 commit b1d0dda

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
@@ -2095,7 +2095,7 @@ def get_solutions(
20952095

20962096
sol_dict[resultfilename] = {}
20972097

2098-
if self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE] != True:
2098+
if not self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE]:
20992099
sol_dict[resultfilename]['msg'] = 'No result file available!'
21002100
sol_dict[resultfilename]['data'] = {}
21012101
continue

0 commit comments

Comments
 (0)