Commit bec52fe7 authored by Marco Ratto's avatar Marco Ratto
Browse files

with occbin smoother do not overwrite updated variables that have been already...

with occbin smoother do not overwrite updated variables that have been already computed with reduced state space
parent 1d5d46e1
......@@ -366,6 +366,7 @@ else
if options_.occbin.smoother.status
% reconstruct occbin smoother
if length_varargin>0
% sequence of regimes is provided in input
isoccbin=1;
else
isoccbin=0;
......@@ -431,6 +432,8 @@ else
bbb(oo_.dr.inv_order_var,k) = out.zpiece(1,:);
end
end
% do not overwrite accurate computations using reduced st. space
bbb(oo_.dr.restrict_var_list,:)=ahat;
ahat0=ahat;
ahat=bbb;
if ~isempty(P)
......
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