From ce4d8c3544320ac6b9c69fa5f7d5f8a43838860a Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Tue, 28 Nov 2017 10:27:43 +0100 Subject: [PATCH] Cosmetic fix to error message --- matlab/dsge_likelihood.m | 2 +- matlab/dyn_risky_steadystate_solver.m | 2 +- matlab/dynare_identification.m | 2 +- matlab/gsa/stab_map_.m | 2 +- matlab/interpret_resol_info.m | 2 +- matlab/non_linear_dsge_likelihood.m | 2 +- matlab/resol.m | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/matlab/dsge_likelihood.m b/matlab/dsge_likelihood.m index 0b62e5167..c3e69b0ef 100644 --- a/matlab/dsge_likelihood.m +++ b/matlab/dsge_likelihood.m @@ -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 diff --git a/matlab/dyn_risky_steadystate_solver.m b/matlab/dyn_risky_steadystate_solver.m index b677c7840..44e8014e3 100644 --- a/matlab/dyn_risky_steadystate_solver.m +++ b/matlab/dyn_risky_steadystate_solver.m @@ -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 diff --git a/matlab/dynare_identification.m b/matlab/dynare_identification.m index bc16725fa..25754e760 100644 --- a/matlab/dynare_identification.m +++ b/matlab/dynare_identification.m @@ -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 diff --git a/matlab/gsa/stab_map_.m b/matlab/gsa/stab_map_.m index 52f8d1588..ba9d4d33f 100644 --- a/matlab/gsa/stab_map_.m +++ b/matlab/gsa/stab_map_.m @@ -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.']) diff --git a/matlab/interpret_resol_info.m b/matlab/interpret_resol_info.m index 45b3993ff..43e21598d 100644 --- a/matlab/interpret_resol_info.m +++ b/matlab/interpret_resol_info.m @@ -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 diff --git a/matlab/non_linear_dsge_likelihood.m b/matlab/non_linear_dsge_likelihood.m index 1f56c3be4..9f52b69f0 100644 --- a/matlab/non_linear_dsge_likelihood.m +++ b/matlab/non_linear_dsge_likelihood.m @@ -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 diff --git a/matlab/resol.m b/matlab/resol.m index ba3d0e647..e2c55ecc4 100644 --- a/matlab/resol.m +++ b/matlab/resol.m @@ -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