From 722a791c35205619b2cb574c1d60ca187a677678 Mon Sep 17 00:00:00 2001 From: Uwe Fechner Date: Sun, 13 Mar 2022 13:49:13 +0100 Subject: [PATCH] Bugfix in documentation --- docs/src/functions.md | 2 +- src/KiteModels.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/functions.md b/docs/src/functions.md index e98905d2..4ae55c8e 100644 --- a/docs/src/functions.md +++ b/docs/src/functions.md @@ -5,7 +5,7 @@ CurrentModule = KiteModels Most of the functions work on a KPS3 object. For this, the variable s is used. Such a variable can be created with the lines: ```julia -using KiteUtils, KitePodSimulator +using KiteModels, KitePodSimulator const s = KPS3(KCU()) ``` diff --git a/src/KiteModels.jl b/src/KiteModels.jl index a146a207..c1e0f816 100644 --- a/src/KiteModels.jl +++ b/src/KiteModels.jl @@ -173,9 +173,9 @@ $(TYPEDFIELDS) depower::S = 0.0 steering::S = 0.0 "initial masses of the point masses" - initial_masses::MVector{P, SimFloat} = ones(P) + initial_masses::MVector{P, S} = ones(P) "current masses, depending on the total tether length" - masses::MVector{P, SimFloat} = ones(P) + masses::MVector{P, S} = ones(P) end """