Skip to content

Commit ccffbda

Browse files
committed
[ModelicaSystemDoE] fix bool comparison
1 parent 443dc08 commit ccffbda

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
@@ -1860,7 +1860,7 @@ def get_solutions(
18601860

18611861
sol_dict[resultfilename] = {}
18621862

1863-
if self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE] != True:
1863+
if not self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE]:
18641864
sol_dict[resultfilename]['msg'] = 'No result file available!'
18651865
sol_dict[resultfilename]['data'] = {}
18661866
continue

0 commit comments

Comments
 (0)