Unverified Commit 93a0351a authored by Houtan Bastani's avatar Houtan Bastani Committed by GitHub
Browse files

Merge pull request #1569 from JohannesPfeifer/cosmetic

Cosmetic fix to error message
parents cd48d26d ce4d8c35
...@@ -53,7 +53,7 @@ function [fval,info,exit_flag,DLIK,Hess,SteadyState,trend_coeff,Model,DynareOpti ...@@ -53,7 +53,7 @@ function [fval,info,exit_flag,DLIK,Hess,SteadyState,trend_coeff,Model,DynareOpti
%! @item info==6 %! @item info==6
%! The jacobian evaluated at the deterministic steady state is complex. %! The jacobian evaluated at the deterministic steady state is complex.
%! @item info==19 %! @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 %! @item info==20
%! Cannot find the steady state, info(4) contains the sum of square residuals (of the static equations). %! Cannot find the steady state, info(4) contains the sum of square residuals (of the static equations).
%! @item info==21 %! @item info==21
......
...@@ -46,7 +46,7 @@ function [dr,info] = dyn_risky_steadystate_solver(ys0,M, ... ...@@ -46,7 +46,7 @@ function [dr,info] = dyn_risky_steadystate_solver(ys0,M, ...
%! @item info==6 %! @item info==6
%! The jacobian evaluated at the deterministic steady state is complex. %! The jacobian evaluated at the deterministic steady state is complex.
%! @item info==19 %! @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 %! @item info==20
%! Cannot find the steady state, info(2) contains the sum of square residuals (of the static equations). %! Cannot find the steady state, info(2) contains the sum of square residuals (of the static equations).
%! @item info==21 %! @item info==21
......
...@@ -325,7 +325,7 @@ if iload <=0 ...@@ -325,7 +325,7 @@ if iload <=0
elseif info(1)==6 elseif info(1)==6
disp('info==6 %! The jacobian evaluated at the deterministic steady state is complex.') disp('info==6 %! The jacobian evaluated at the deterministic steady state is complex.')
elseif info(1)==19 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 elseif info(1)==20
disp('info==20 %! Cannot find the steady state, info(2) contains the sum of square residuals (of the static equations). ') disp('info==20 %! Cannot find the steady state, info(2) contains the sum of square residuals (of the static equations). ')
elseif info(1)==21 elseif info(1)==21
......
...@@ -575,7 +575,7 @@ if length(iunstable)>0 || length(iwrong)>0 ...@@ -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.']) disp([' For ',num2str(length(find(infox==6))/Nsam*100,'%4.1f'),'% The jacobian evaluated at the deterministic steady state is complex.'])
end end
if any(infox==19) 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 end
if any(infox==20) if any(infox==20)
disp([' For ',num2str(length(find(infox==20))/Nsam*100,'%4.1f'),'% Cannot find the steady state.']) disp([' For ',num2str(length(find(infox==20))/Nsam*100,'%4.1f'),'% Cannot find the steady state.'])
......
...@@ -42,7 +42,7 @@ switch info(1) ...@@ -42,7 +42,7 @@ switch info(1)
case 6 case 6
message = 'The jacobian evaluated at the deterministic steady state is complex.'; message = 'The jacobian evaluated at the deterministic steady state is complex.';
case 19 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 case 20
message = sprintf('Cannot find the steady state (the sum of square residuals of the static equations is %s)', num2str(info(2))); message = sprintf('Cannot find the steady state (the sum of square residuals of the static equations is %s)', num2str(info(2)));
case 21 case 21
......
...@@ -49,7 +49,7 @@ function [fval,info,exit_flag,DLIK,Hess,ys,trend_coeff,Model,DynareOptions,Bayes ...@@ -49,7 +49,7 @@ function [fval,info,exit_flag,DLIK,Hess,ys,trend_coeff,Model,DynareOptions,Bayes
%! @item info==6 %! @item info==6
%! The jacobian evaluated at the deterministic steady state is complex. %! The jacobian evaluated at the deterministic steady state is complex.
%! @item info==19 %! @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 %! @item info==20
%! Cannot find the steady state, info(2) contains the sum of square residuals (of the static equations). %! Cannot find the steady state, info(2) contains the sum of square residuals (of the static equations).
%! @item info==21 %! @item info==21
......
...@@ -43,7 +43,7 @@ function [dr,info,M,options,oo] = resol(check_flag,M,options,oo) ...@@ -43,7 +43,7 @@ function [dr,info,M,options,oo] = resol(check_flag,M,options,oo)
%! @item info==6 %! @item info==6
%! The jacobian evaluated at the deterministic steady state is complex. %! The jacobian evaluated at the deterministic steady state is complex.
%! @item info==19 %! @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 %! @item info==20
%! Cannot find the steady state, info(2) contains the sum of square residuals (of the static equations). %! Cannot find the steady state, info(2) contains the sum of square residuals (of the static equations).
%! @item info==21 %! @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