Skip to content

Commit

Permalink
fixing fmu_name input to allow non-string types with str representation
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Meisrimel authored and Peter Meisrimel committed Feb 3, 2025
1 parent 61e1ec0 commit bf65666
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/pyfmi/fmi1.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ cdef class FMUModelME1(FMUModelBase):
cdef public object _preinit_nominal_continuous_states

cdef object _load_fmi1_fmu(
str fmu,
fmu,
object log_file_name,
str kind,
int log_level,
Expand Down
2 changes: 1 addition & 1 deletion src/pyfmi/fmi1.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2969,7 +2969,7 @@ cdef class FMUModelME1(FMUModelBase):
self._instantiated_fmu = 0

cdef object _load_fmi1_fmu(
str fmu,
fmu,
object log_file_name,
str kind,
int log_level,
Expand Down
2 changes: 1 addition & 1 deletion src/pyfmi/fmi2.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ cdef class WorkerClass2:
cpdef verify_dimensions(self, int dim)

cdef object _load_fmi2_fmu(
str fmu,
fmu,
object log_file_name,
str kind,
int log_level,
Expand Down
2 changes: 1 addition & 1 deletion src/pyfmi/fmi2.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -5262,7 +5262,7 @@ cdef class WorkerClass2:
return ret

cdef object _load_fmi2_fmu(
str fmu,
fmu,
object log_file_name,
str kind,
int log_level,
Expand Down

0 comments on commit bf65666

Please sign in to comment.