From b0f956cd533732f2c2cf178c18f1fc7bc3c00405 Mon Sep 17 00:00:00 2001 From: Guillaume Jacquenot Date: Wed, 26 Jun 2024 10:58:14 +0200 Subject: [PATCH] Fix typos in comments (#524) --- examples/simulate_fmi2_me.c | 2 +- examples/simulate_fmi3_me.c | 2 +- fmusim/fmusim_fmi3_me.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/simulate_fmi2_me.c b/examples/simulate_fmi2_me.c index 21cf1387..d1869212 100644 --- a/examples/simulate_fmi2_me.c +++ b/examples/simulate_fmi2_me.c @@ -59,7 +59,7 @@ int main(int argc, char* argv[]) { fmi2EventInfo eventInfo = { 0 }; - // intial event iteration + // initial event iteration do { CALL(FMI2NewDiscreteStates(S, &eventInfo)); diff --git a/examples/simulate_fmi3_me.c b/examples/simulate_fmi3_me.c index ba1a39f7..b03c55e5 100644 --- a/examples/simulate_fmi3_me.c +++ b/examples/simulate_fmi3_me.c @@ -65,7 +65,7 @@ int main(int argc, char* argv[]) { CALL(FMI3ExitInitializationMode(S)); - // intial event iteration + // initial event iteration while (discreteStatesNeedUpdate) { CALL(FMI3UpdateDiscreteStates(S, diff --git a/fmusim/fmusim_fmi3_me.c b/fmusim/fmusim_fmi3_me.c index 4c182ff5..f78d3c51 100644 --- a/fmusim/fmusim_fmi3_me.c +++ b/fmusim/fmusim_fmi3_me.c @@ -73,7 +73,7 @@ FMIStatus simulateFMI3ME( CALL(FMI3ExitInitializationMode(S)); - // intial event iteration + // initial event iteration do { CALL(FMI3UpdateDiscreteStates(S,