From ef8671bb991ff0c659b28d87b3b3b9710133962e Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Tue, 17 Mar 2020 13:28:40 +0100 Subject: [PATCH] Correctly pass prior_trunc option in identification --- matlab/dynare_identification.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/matlab/dynare_identification.m b/matlab/dynare_identification.m index 9586dea3c..b864e46d7 100644 --- a/matlab/dynare_identification.m +++ b/matlab/dynare_identification.m @@ -215,6 +215,10 @@ options_ident = set_default_option(options_ident,'order',1); % 3: third-order perturbation approximation, identification is based on third-order pruned state space system %overwrite values in options_, note that options_ is restored at the end of the function +if isfield(options_ident,'prior_trunc') + options_.prior_trunc=options_ident.prior_trunc; + % sets truncation of prior +end if isfield(options_ident,'TeX') options_.TeX=options_ident.TeX; % requests printing of results and graphs in LaTeX