diff --git a/matlab/dynare_estimation_init.m b/matlab/dynare_estimation_init.m index 7c297dc0e54f3625ff527369c14ff80323079b00..454375def536e073143fbde73b86569eca04b52d 100644 --- a/matlab/dynare_estimation_init.m +++ b/matlab/dynare_estimation_init.m @@ -457,8 +457,15 @@ if options_.analytic_derivation, [tmp1, params] = evaluate_steady_state(oo_.steady_state,M,options_,oo_,steadystate_check_flag); change_flag=any(find(params-M.params)); if change_flag, - disp('The steadystate file changed the values for the following parameters: '), - disp(M.param_names(find(params-M.params),:)) + skipline(); + if any(isnan(params)) + disp('After computing the steadystate, the following parameters are still NaN: '), + disp(M.param_names(isnan(params),:)) + end + if any(find(params(~isnan(params))-M.params(~isnan(params)))) + disp('The steadystate file changed the values for the following parameters: '), + disp(M.param_names(find(params(~isnan(params))-M.params(~isnan(params))),:)) + end disp('The derivatives of jacobian and steady-state will be computed numerically'), disp('(re-set options_.analytic_derivation_mode= -2)'), options_.analytic_derivation_mode= -2;