Skip to content

Commit a15945a

Browse files
committed
[ModelicaSystemDoE] fix bool comparison
1 parent dea325d commit a15945a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OMPython/ModelicaSystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1866,7 +1866,7 @@ def get_solutions(
18661866

18671867
sol_dict[resultfilename] = {}
18681868

1869-
if self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE] != True:
1869+
if not self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE]:
18701870
sol_dict[resultfilename]['msg'] = 'No result file available!'
18711871
sol_dict[resultfilename]['data'] = {}
18721872
continue

0 commit comments

Comments
 (0)