@@ -776,8 +776,8 @@ the value being the output vector if the FMU has output variables. `o` should co
776776
777777Initializes the FMU. Only for use with CoSimulation FMUs.
778778"""
779- function fmiCSInitialize! (m, o, ctx, integrator)
780- functor:: FMI2CSFunctor , dt = ctx
779+ function fmiCSInitialize! (m, o, ctx:: Tuple{FMI2CSFunctor, Vararg} , integrator)
780+ functor, dt = ctx
781781 states = isdefined (m, :states ) ? m. states : ()
782782 inputs = o. inputs
783783 params = o. params
@@ -806,8 +806,8 @@ periodically to communicte with the CoSimulation FMU. Has the same requirements
806806`fmiCSInitialize!` for `m` and `o`, with the addition that `o` should have a key
807807`:dt` with the value being the communication step size.
808808"""
809- function fmiCSStep! (m, o, ctx, integrator)
810- functor:: FMI2CSFunctor , dt = ctx
809+ function fmiCSStep! (m, o, ctx:: Tuple{FMI2CSFunctor, Vararg} , integrator)
810+ functor, dt = ctx
811811 wrapper = o. wrapper
812812 states = isdefined (m, :states ) ? m. states : ()
813813 inputs = o. inputs
876876"""
877877 $(TYPEDSIGNATURES)
878878"""
879- function fmiCSInitialize! (m, o, ctx, integrator)
880- functor:: FMI3CSFunctor , dt = ctx
879+ function fmiCSInitialize! (m, o, ctx:: Tuple{FMI3CSFunctor, Vararg} , integrator)
880+ functor, dt = ctx
881881 states = isdefined (m, :states ) ? m. states : ()
882882 inputs = o. inputs
883883 params = o. params
901901"""
902902 $(TYPEDSIGNATURES)
903903"""
904- function fmiCSStep! (m, o, ctx, integrator)
905- functor:: FMI3CSFunctor , dt = ctx
904+ function fmiCSStep! (m, o, ctx:: Tuple{FMI3CSFunctor, Vararg} , integrator)
905+ functor, dt = ctx
906906 wrapper = o. wrapper
907907 states = isdefined (m, :states ) ? m. states : ()
908908 inputs = o. inputs
0 commit comments