Skip to content

Commit

Permalink
do not call GC.gc(false)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Fechner committed Mar 15, 2024
1 parent d914ddf commit 787607d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions examples/autopilot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ function simulate(integrator)
v_ro = calc_v_set(ssc)
#
t_sim = @elapsed KiteModels.next_step!(kps4, integrator, v_ro=v_ro, dt=dt)
if t_sim < 0.3*dt
t_gc_tot += @elapsed GC.gc(false)
end
sys_state = SysState(kps4)
on_new_systate(ssc, sys_state)
if mod(i, TIME_LAPSE_RATIO) == 0
Expand Down

0 comments on commit 787607d

Please sign in to comment.