Commit 37fbf5b6 authored by Johannes Pfeifer 's avatar Johannes Pfeifer
Browse files

resid.m: fix display when used together with optimal policy

parent 8052920a
......@@ -102,11 +102,11 @@ if nargout == 0
ind = [];
disp('Residuals of the static equations:')
skipline()
for i=1:M_.orig_endo_nbr
if abs(z(i)) < options_.solve_tolf/100
for i=1:M_.orig_eq_nbr
if abs(z(i+M_.ramsey_eq_nbr)) < options_.solve_tolf/100
tmp = 0;
else
tmp = z(i);
tmp = z(i+M_.ramsey_eq_nbr);
end
if istag
tg = tags(cell2mat(tags(:,1)) == i,2:3); % all tags for equation i
......@@ -123,4 +123,4 @@ if nargout == 0
skipline(2)
end
oo_.steady_state = steady_state_old;
oo_.steady_state = steady_state_old;
\ 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