From 3412d5e20a7720ad6706abf03954bd310091149e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?=
<stephane.adjemian@univ-lemans.fr>
Date: Wed, 21 Sep 2011 18:54:11 +0200
Subject: [PATCH] Bug fix. Do not override option lik_init (declared in the
estimation command) if unit_root_vars keyword is present in the mod file, by
forcing options_.lik_init to be equal to 3 (diffuse kalman filter).
---
matlab/dynare_estimation_init.m | 1 -
1 file changed, 1 deletion(-)
diff --git a/matlab/dynare_estimation_init.m b/matlab/dynare_estimation_init.m
index b18444a44..500a3078c 100644
--- a/matlab/dynare_estimation_init.m
+++ b/matlab/dynare_estimation_init.m
@@ -304,7 +304,6 @@ if ~isempty(options_.unit_root_vars)
bayestopt_.restrict_var_list_nonstationary = ...
nonzeros(l2(:,bayestopt_.restrict_var_list_nonstationary));
end
- options_.lik_init = 3;
end % if ~isempty(options_.unit_root_vars)
% Test if the data file is declared.
--
GitLab