Display reason for mode_check-problems when debugging is enabled

time-shift
Johannes Pfeifer 2016-10-09 22:16:26 +02:00
parent 29d1e80eda
commit 6b82788180
1 changed files with 3 additions and 0 deletions

View File

@ -145,6 +145,9 @@ for plt = 1:nbplt,
y(i,1) = fval;
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))
end
end
if DynareOptions.mode_check.nolik==0
lnprior = priordens(xx,BayesInfo.pshape,BayesInfo.p6,BayesInfo.p7,BayesInfo.p3,BayesInfo.p4);