Skip to content
Snippets Groups Projects
Verified Commit f35536ef authored by Johannes Pfeifer's avatar Johannes Pfeifer Committed by Sébastien Villemot
Browse files

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

(cherry picked from commit c72d7e0f)
parent 01d6a1c7
Branches
Tags
No related merge requests found
Pipeline #6216 failed
......@@ -155,7 +155,7 @@ for plt = 1:nbplt
else
y(i,1) = NaN;
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
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