Preprocessor update

— deprecation warning for “simul” (#1683)
— Ramsey: use information from transformed model for filling
  M_.nonzero_hessian_eqs. (Closes: #1681)
  Also, M_.hessian_eq_zero is not generated if order = 1
— New field M_.endo_trends (#1648)
time-shift
Sébastien Villemot 2019-12-13 18:20:10 +01:00
parent 5cb9886a5e
commit ce4aa9a8e1
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
6 changed files with 9 additions and 9 deletions

View File

@ -29,7 +29,7 @@ function disp_dr(dr,order,var_list)
global M_ options_
if M_.hessian_eq_zero && order~=1
if order~=1 && M_.hessian_eq_zero
order = 1;
warning('disp_dr: using order = 1 because Hessian is equal to zero');
end
@ -299,4 +299,4 @@ if abs(x) >= options_.dr_display_tol
else
str = [str sprintf(value_format_zero, 0)];
end
end
end

View File

@ -43,7 +43,7 @@ end
y = 0;
local_order = iorder;
if M_.hessian_eq_zero && local_order~=1
if local_order~=1 && M_.hessian_eq_zero
local_order = 1;
end

View File

@ -38,7 +38,7 @@ if options_.order == 1
options_.replic = 1;
end
if M_.hessian_eq_zero && options_.order~=1
if options_.order~=1 && M_.hessian_eq_zero
options_.order = 1;
warning('stoch_simul: using order = 1 because Hessian is equal to zero');
end

View File

@ -24,7 +24,7 @@ function [dr, info] = stochastic_solvers(dr, task, M_, options_, oo_)
% info=6 -> The jacobian matrix evaluated at the steady state is complex.
% info=9 -> k_order_pert was unable to compute the solution
% Copyright (C) 1996-2018 Dynare Team
% Copyright (C) 1996-2019 Dynare Team
%
% This file is part of Dynare.
%
@ -48,7 +48,7 @@ if options_.linear
end
local_order = options_.order;
if M_.hessian_eq_zero && local_order~=1
if local_order~=1 && M_.hessian_eq_zero
local_order = 1;
warning('stochastic_solvers: using order = 1 because Hessian is equal to zero');
end

View File

@ -42,7 +42,7 @@ function [Gamma_y,stationary_vars] = th_autocovariances(dr,ivar,M_,options_,node
% E(x_t) = (I - {g_x}\right)^{- 1} 0.5\left( g_{\sigma\sigma} \sigma^2 + g_{xx} Var(\hat x_t) + g_{uu} Var(u_t) \right)
% \]
%
% Copyright (C) 2001-2017 Dynare Team
% Copyright (C) 2001-2019 Dynare Team
%
% This file is part of Dynare.
%
@ -68,7 +68,7 @@ if options_.order >= 3
end
local_order = options_.order;
if M_.hessian_eq_zero && local_order~=1
if local_order~=1 && M_.hessian_eq_zero
local_order = 1;
end

@ -1 +1 @@
Subproject commit c1b8cdf811b94ed725111a8b013ec5fd24849aac
Subproject commit 141cff07613dd5440a746103eb195ad05424ad01