Unverified Commit a9fc19bc authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Fix calib_smoother when all variables are stationary

parent 3f3f9b27
...@@ -57,6 +57,8 @@ function calib_smoother!(context, field) ...@@ -57,6 +57,8 @@ function calib_smoother!(context, field)
end end
if count(results.stationary_variables) == model.endogenous_nbr if count(results.stationary_variables) == model.endogenous_nbr
kws = KalmanSmootherWs{Float64, Int64}(ny, ns, model.exogenous_nbr, nobs) kws = KalmanSmootherWs{Float64, Int64}(ny, ns, model.exogenous_nbr, nobs)
start = 1
last = nobs
kalman_smoother!(Y, c, Z, H, d, T, R, Q, a0, att, P, Ptt, alphah, epsilonh, etah, kalman_smoother!(Y, c, Z, H, d, T, R, Q, a0, att, P, Ptt, alphah, epsilonh, etah,
Valpha, Vepsilon, Veta, start, last, presample, Valpha, Vepsilon, Veta, start, last, presample,
kws, data_pattern) kws, data_pattern)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment