Commit 7fe6d733 authored by Michel Juillard's avatar Michel Juillard
Browse files

corrected bugs left in previous change set

parent f36247ce
......@@ -239,13 +239,13 @@ if ~isempty(options_.unit_root_vars)
end
bayestopt_.var_list_stationary = setdiff((1:M_.endo_nbr)',i_ur);
[junk,bayestopt_.restrict_var_list_nonstationary] = ...
intersect(bayestopt_.restrict_var_list,i_ur);
intersect(oo_.dr.restrict_var_list,i_ur);
bayestopt_.restrict_var_list_stationary = ...
setdiff((1:length(bayestopt_.restrict_var_list))', ...
setdiff((1:length(oo_.dr.restrict_var_list))', ...
bayestopt_.restrict_var_list_nonstationary);
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(:,bayestopt_.restrict_var_list);
l2 = l1(:,oo_.dr.restrict_var_list);
il2 = find(l2' > 0);
l2(il2) = (1:length(il2))';
bayestopt_.restrict_var_list_stationary = ...
......
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