Commit 9337cdef authored by michel's avatar michel
Browse files

v4 dynare_estimation.m: corrected bug in bayestopt_.restrict_var_list_nonstationary


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1114 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 09c165f3
......@@ -200,7 +200,7 @@ if ~isempty(options_.unit_root_vars)
[junk,bayestopt_.restrict_var_list_stationary] = ...
setdiff(bayestopt_.restrict_var_list,i_ur);
[junk,bayestopt_.restrict_var_list_nonstationary] = ...
setdiff(bayestopt_.restrict_var_list,i_ur);
intersect(bayestopt_.restrict_var_list,i_ur);
if M_.maximum_lag > 1
l1 = flipud([cumsum(M_.lead_lag_incidence(1:M_.maximum_lag-1,dr.order_var),1);ones(1,M_.endo_nbr)]);
l2 = l1(:,restrict_var_list);
......
Supports Markdown
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