Skip to content

Commit

Permalink
remove const variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Nov 1, 2024
1 parent 7a2c606 commit ee1db46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/simple_3l_speed_control.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using KiteModels, LinearAlgebra, StatsBase
using KiteModels, LinearAlgebra
using Base: summarysize

using Pkg
if ! ("ControlPlots" keys(Pkg.project().dependencies))
using TestEnv; TestEnv.activate()
end
using ControlPlots
using ControlPlots, StatsBase

set = deepcopy(load_settings("system_3l.yaml"))
# set.elevation = 71
Expand All @@ -15,7 +15,7 @@ total_time = 9.0
steps = Int(round(total_time / dt))
logger = Logger(3*set.segments + 6, steps)

if !@isdefined s; s = KPS4_3L(KCU(set)); end
s::KPS4_3L = KPS4_3L(KCU(set))
s.set = update_settings()
s.set.abs_tol = 0.0006
s.set.rel_tol = 0.001
Expand Down

0 comments on commit ee1db46

Please sign in to comment.