Skip to content
Snippets Groups Projects
Commit 60efdd49 authored by Johannes Pfeifer's avatar Johannes Pfeifer Committed by Stéphane Adjemian
Browse files

disp_steady_state.m: Use character array to make sure alignment in display of steady state is right

parent a418a042
No related branches found
No related tags found
No related merge requests found
......@@ -32,9 +32,9 @@ function disp_steady_state(M,oo)
skipline()
disp('STEADY-STATE RESULTS:')
skipline()
endo_names = M.endo_names;
endo_names = char(M.endo_names);
steady_state = oo.steady_state;
for i = 1:M.orig_endo_nbr
disp(sprintf('%s \t\t %g', endo_names{i}, steady_state(i)));
fprintf('%s \t\t %g\n', endo_names(i,:), steady_state(i));
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment