Commit 5badd343 authored by Marco Ratto's avatar Marco Ratto

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

parent b0e7c47a
...@@ -120,6 +120,7 @@ elseif q2a.plot ~= 2 ...@@ -120,6 +120,7 @@ elseif q2a.plot ~= 2
end end
% end initialize names % end initialize names
steady_state=steady_state(i_var);
if realtime_==0 if realtime_==0
% usual shock decomp % usual shock decomp
...@@ -143,7 +144,6 @@ if isstruct(aux) ...@@ -143,7 +144,6 @@ if isstruct(aux)
aux.yss=steady_state_aux; aux.yss=steady_state_aux;
end end
end end
steady_state=steady_state(i_var);
% endo_names = M_.endo_names(i_var,:); % endo_names = M_.endo_names(i_var,:);
% endo_names_tex = M_.endo_names_tex(i_var,:); % endo_names_tex = M_.endo_names_tex(i_var,:);
...@@ -330,4 +330,4 @@ elseif q2a.plot == 2 ...@@ -330,4 +330,4 @@ elseif q2a.plot == 2
z=za; z=za;
else else
z=cat(1,za,gza); z=cat(1,za,gza);
end end
\ No newline at end of file
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