Skip to content

Commit

Permalink
Some more deprecation issues (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterMeisrimelModelon committed Feb 29, 2024
1 parent 7a25bf8 commit 88b3685
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -2230,10 +2230,10 @@ def simulation_start(self):
vref = dtype[0]
if dtype[1] == fmi.FMI_REAL:
str_text = str_text + (
" %.14E" % (self.model.get_real([vref])))
" %.14E" % (self.model.get_real([vref])[0]))
elif dtype[1] == fmi.FMI_INTEGER or dtype[1] == fmi.FMI_ENUMERATION:
str_text = str_text + (
" %.14E" % (self.model.get_integer([vref])))
" %.14E" % (self.model.get_integer([vref])[0]))
elif dtype[1] == fmi.FMI_BOOLEAN:
str_text = str_text + (
" %.14E" % (float(
Expand Down

0 comments on commit 88b3685

Please sign in to comment.