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

Initialize state space matrices with occbin smoother, when realtime regimes...

Initialize state space matrices with occbin smoother, when realtime regimes are computed, otherwise they are set to 0 for t<first_period_occbin_update!
parent bec52fe7
......@@ -212,6 +212,13 @@ else
R0=R;
end
if ~isinf(occbin_options.first_period_occbin_update)
% initialize state matrices (otherwise they are set to 0 for
% t<first_period_occbin_update!)
TTT=repmat(T0,1,1,smpl+1);
RRR=repmat(R0,1,1,smpl+1);
CCC=repmat(zeros(length(T0),1),1,smpl+1);
end
end
......
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