@@ -205,7 +205,7 @@ function NonLinMPC(
205205 L_Hp = diagm (repeat (Lwt, Hp)),
206206 Cwt = DEFAULT_CWT,
207207 Ewt = DEFAULT_EWT,
208- JE:: Function = (_,_,_,_ ) -> 0.0 ,
208+ JE:: Function = (args ... ) -> 0.0 ,
209209 p = model. p,
210210 optim:: JuMP.GenericModel = JuMP. Model (DEFAULT_NONLINMPC_OPTIMIZER, add_bridges= false ),
211211 kwargs...
@@ -226,7 +226,7 @@ function NonLinMPC(
226226 L_Hp = diagm (repeat (Lwt, Hp)),
227227 Cwt = DEFAULT_CWT,
228228 Ewt = DEFAULT_EWT,
229- JE:: Function = (_,_,_,_ ) -> 0.0 ,
229+ JE:: Function = (args ... ) -> 0.0 ,
230230 p = model. p,
231231 optim:: JuMP.GenericModel = JuMP. Model (DEFAULT_NONLINMPC_OPTIMIZER, add_bridges= false ),
232232 kwargs...
@@ -271,7 +271,7 @@ function NonLinMPC(
271271 L_Hp = diagm (repeat (Lwt, Hp)),
272272 Cwt = DEFAULT_CWT,
273273 Ewt = DEFAULT_EWT,
274- JE:: JEFunc = (_,_,_,_ ) -> 0.0 ,
274+ JE:: JEFunc = (args ... ) -> 0.0 ,
275275 p:: P = estim. model. p,
276276 optim:: JM = JuMP. Model (DEFAULT_NONLINMPC_OPTIMIZER, add_bridges= false ),
277277) where {NT<: Real , SE<: StateEstimator{NT} , JM<: JuMP.GenericModel , JEFunc<: Function , P<: Any }
288288"""
289289 validate_JE(NT, JE) -> nothing
290290
291- Validate `JE` function argument signature
291+ Validate `JE` function argument signature.
292292"""
293293function validate_JE (NT, JE)
294294 if ! hasmethod (JE, Tuple{Vector{NT}, Vector{NT}, Vector{NT}, Any})
0 commit comments