Skip to content
Snippets Groups Projects
Verified Commit db5e0410 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

solve_one_boundary.m: fix crash in verbose mode

parent 2d73ae29
Branches
Tags
No related merge requests found
......@@ -106,9 +106,9 @@ for it_=start:incr:finish
if verbose
disp(['iteration : ' int2str(iter+1) ' => ' num2str(max_res) ' time = ' int2str(it_)])
if is_dynamic
disp([M.endo_names{y_index_eq} num2str([y(y_index_eq, it_) r g1])])
disp([char(M.endo_names{y_index_eq}) repmat(' ', numel(y_index_eq), 1) num2str([y(y_index_eq, it_) r g1])])
else
disp([M.endo_names{y_index_eq} num2str([y(y_index_eq) r g1])])
disp([char(M.endo_names{y_index_eq}) repmat(' ', numel(y_index_eq), 1) num2str([y(y_index_eq) r g1])])
end
end
if ~isreal(max_res) || isnan(max_res)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment