diff --git a/Project.toml b/Project.toml index b62f5371..4b3b593c 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "FMI" uuid = "14a09403-18e3-468f-ad8a-74f8dda2d9ac" authors = ["TT ", "LM ", "JK "] -version = "0.14.2" +version = "0.14.3" [deps] FMIExport = "31b88311-cab6-44ed-ba9c-fe5a9abbd67a" diff --git a/src/sim.jl b/src/sim.jl index 44c24161..dd8b1a5e 100644 --- a/src/sim.jl +++ b/src/sim.jl @@ -238,7 +238,7 @@ function simulateME( #setupSolver(fmu, solveKwargs) for cb in callbacksBefore - insertAt!(cbs, cb, 1) + insert!(cbs, 1, cb) end for cb in callbacksAfter