dynare_estimation_init.m: set observable mapping for inversion filter if only smoother is used

unit-tests
Johannes Pfeifer 2022-12-09 13:19:32 +01:00
parent 885080ea01
commit a4634cd1b7
1 changed files with 1 additions and 1 deletions

View File

@ -693,7 +693,7 @@ if options_.heteroskedastic_filter
end
end
if options_.occbin.likelihood.status && options_.occbin.likelihood.inversion_filter
if (options_.occbin.likelihood.status && options_.occbin.likelihood.inversion_filter) || (options_.occbin.smoother.status && options_.occbin.smoother.inversion_filter)
if isempty(options_.occbin.likelihood.IVF_shock_observable_mapping)
options_.occbin.likelihood.IVF_shock_observable_mapping=find(diag(M.Sigma_e)~=0);
else