Commit ce4d8c35 authored by Johannes Pfeifer 's avatar Johannes Pfeifer

Cosmetic fix to error message

parent 9be04a44
......@@ -53,7 +53,7 @@ function [fval,info,exit_flag,DLIK,Hess,SteadyState,trend_coeff,Model,DynareOpti
%! @item info==6
%! The jacobian evaluated at the deterministic steady state is complex.
%! @item info==19
%! The steadystate routine thrown an exception (inconsistent deep parameters).
%! The steadystate routine has thrown an exception (inconsistent deep parameters).
%! @item info==20
%! Cannot find the steady state, info(4) contains the sum of square residuals (of the static equations).
%! @item info==21
......
......@@ -46,7 +46,7 @@ function [dr,info] = dyn_risky_steadystate_solver(ys0,M, ...
%! @item info==6
%! The jacobian evaluated at the deterministic steady state is complex.
%! @item info==19
%! The steadystate routine thrown an exception (inconsistent deep parameters).
%! The steadystate routine has thrown an exception (inconsistent deep parameters).
%! @item info==20
%! Cannot find the steady state, info(2) contains the sum of square residuals (of the static equations).
%! @item info==21
......
......@@ -325,7 +325,7 @@ if iload <=0
elseif info(1)==6
disp('info==6 %! The jacobian evaluated at the deterministic steady state is complex.')
elseif info(1)==19
disp('info==19 %! The steadystate routine thrown an exception (inconsistent deep parameters). ')
disp('info==19 %! The steadystate routine has thrown an exception (inconsistent deep parameters). ')
elseif info(1)==20
disp('info==20 %! Cannot find the steady state, info(2) contains the sum of square residuals (of the static equations). ')
elseif info(1)==21
......
......@@ -575,7 +575,7 @@ if length(iunstable)>0 || length(iwrong)>0
disp([' For ',num2str(length(find(infox==6))/Nsam*100,'%4.1f'),'% The jacobian evaluated at the deterministic steady state is complex.'])
end
if any(infox==19)
disp([' For ',num2str(length(find(infox==19))/Nsam*100,'%4.1f'),'% The steadystate routine thrown an exception (inconsistent deep parameters).'])
disp([' For ',num2str(length(find(infox==19))/Nsam*100,'%4.1f'),'% The steadystate routine has thrown an exception (inconsistent deep parameters).'])
end
if any(infox==20)
disp([' For ',num2str(length(find(infox==20))/Nsam*100,'%4.1f'),'% Cannot find the steady state.'])
......
......@@ -42,7 +42,7 @@ switch info(1)
case 6
message = 'The jacobian evaluated at the deterministic steady state is complex.';
case 19
message = 'The steadystate routine thrown an exception (inconsistent deep parameters).';
message = 'The steadystate routine has thrown an exception (inconsistent deep parameters).';
case 20
message = sprintf('Cannot find the steady state (the sum of square residuals of the static equations is %s)', num2str(info(2)));
case 21
......
......@@ -49,7 +49,7 @@ function [fval,info,exit_flag,DLIK,Hess,ys,trend_coeff,Model,DynareOptions,Bayes
%! @item info==6
%! The jacobian evaluated at the deterministic steady state is complex.
%! @item info==19
%! The steadystate routine thrown an exception (inconsistent deep parameters).
%! The steadystate routine has thrown an exception (inconsistent deep parameters).
%! @item info==20
%! Cannot find the steady state, info(2) contains the sum of square residuals (of the static equations).
%! @item info==21
......
......@@ -43,7 +43,7 @@ function [dr,info,M,options,oo] = resol(check_flag,M,options,oo)
%! @item info==6
%! The jacobian evaluated at the deterministic steady state is complex.
%! @item info==19
%! The steadystate routine thrown an exception (inconsistent deep parameters).
%! The steadystate routine has thrown an exception (inconsistent deep parameters).
%! @item info==20
%! Cannot find the steady state, info(2) contains the sum of square residuals (of the static equations).
%! @item info==21
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment