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 """