Commit beb165c0 authored by Marco Ratto's avatar Marco Ratto

bug fix with definition of steady state of plotted var when realtime is not zero

(manual cherry picked from commit 5badd343)
parent 8713e46c
......@@ -120,6 +120,7 @@ elseif q2a.plot ~= 2
end
% end initialize names
steady_state=steady_state(i_var);
if realtime_==0
% usual shock decomp
......@@ -143,7 +144,6 @@ if realtime_==0
aux.yss=steady_state_aux;
end
end
steady_state=steady_state(i_var);
% make annualized shock decomp
[z, steady_state_a, steady_state_ga] = annualiz(z,t0,q2a,aux,steady_state);
end
......@@ -323,4 +323,4 @@ elseif q2a.plot == 2
z=za;
else
z=cat(1,za,gza);
end
\ No newline at end of file
end
Markdown is supported
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