Skip to content
Snippets Groups Projects
Commit c72d7e0f authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

mode_check.m: have debug mode provide explicit message instead of just the code

parent a5ccd0ae
Branches
Tags
1 merge request!1953mode_check.m: have debug mode provide explicit message instead of just the code
...@@ -155,7 +155,7 @@ for plt = 1:nbplt ...@@ -155,7 +155,7 @@ for plt = 1:nbplt
else else
y(i,1) = NaN; y(i,1) = NaN;
if DynareOptions.debug if DynareOptions.debug
fprintf('mode_check:: could not solve model for parameter %s at value %4.3f, error code: %u\n',name,z(i),info(1)) fprintf('mode_check:: could not solve model for parameter %s at value %4.3f, error code: %u (%s)\n',name,z(i),info(1),get_error_message(info, DynareOptions))
end end
end end
if ~DynareOptions.mode_check.nolik if ~DynareOptions.mode_check.nolik
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment