Skip to content

Commit

Permalink
Another deprecation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Meisrimel authored and Peter Meisrimel committed Mar 18, 2024
1 parent d049fe7 commit 9bc5549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyfmi/fmi.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -5767,7 +5767,7 @@ cdef class FMUModelBase2(ModelBase):
relative_quantity = 1 if relative_quantity_bool == FMI2_TRUE else 0

vr = FMIL.fmi2_import_get_variable_vr(variable)
value = self.get_real(vr)
value = self.get_real(vr)[0]

display_value = FMIL.fmi2_import_convert_to_display_unit(value, display_unit, relative_quantity)

Expand Down

0 comments on commit 9bc5549

Please sign in to comment.