diff --git a/fmusim/FMI3CSSimulation.c b/fmusim/FMI3CSSimulation.c index 152908a8..1aba4e4b 100644 --- a/fmusim/FMI3CSSimulation.c +++ b/fmusim/FMI3CSSimulation.c @@ -172,7 +172,7 @@ FMIStatus FMI3CSSimulate(const FMISimulationSettings* s) { time, // currentCommunicationPoint stepSize, // communicationStepSize fmi3True, // noSetFMUStatePriorToCurrentPoint - &eventEncountered, // eventEncountered + &eventEncountered, // eventHandlingNeeded &terminateSimulation, // terminateSimulation &earlyReturn, // earlyReturn &lastSuccessfulTime // lastSuccessfulTime