Skip to content

Commit f36eee5

Browse files
committed
removed: useless methods
1 parent 3e82e47 commit f36eee5

2 files changed

Lines changed: 0 additions & 22 deletions

File tree

src/estimator/execute.jl

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -108,19 +108,6 @@ function f̂!(x̂0next, û0, k, model::SimModel, As, Cs_u, f̂op, x̂op, x̂0,
108108
return nothing
109109
end
110110

111-
#TODO: delete the following generic functions and replace with linear eq. constraints
112-
113-
"""
114-
fs!(x̂0next, estim::StateEstimator, model::SimModel, x̂0) -> nothing
115-
116-
State update function of the stochastic model only.
117-
"""
118-
function fs!(x̂0next, estim::StateEstimator, model::SimModel, x̂0)
119-
xs, xsnext = @views x̂0[model.nx+1:end], x̂0next[model.nx+1:end]
120-
mul!(xsnext, estim.As, xs)
121-
return nothing
122-
end
123-
124111
@doc raw"""
125112
ĥ!(ŷ0, estim::StateEstimator, model::SimModel, x̂0, d0) -> nothing
126113

src/estimator/internal_model.jl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -180,15 +180,6 @@ function f̂!(x̂0next, _ , k, estim::InternalModel, model::NonLinModel, x̂0, u
180180
return nothing
181181
end
182182

183-
#TODO: delete the following 2 generic functions and replace with linear eq. constraints.
184-
185-
"""
186-
fs!(x̂0next, estim::InternalModel, model::SimModel, _ ) -> nothing
187-
188-
Does nothing since [`InternalModel`](@ref) does not augment the state vector.
189-
"""
190-
fs!( _ , ::InternalModel, ::SimModel, _ ) = nothing
191-
192183
@doc raw"""
193184
ĥ!(ŷ0, estim::InternalModel, model::NonLinModel, x̂0, d0)
194185

0 commit comments

Comments
 (0)