From b592987fb4814ab085a059bc022e2f9149a55572 Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Sun, 30 Aug 2015 11:56:26 +0200 Subject: [PATCH] Base evaluation of linearity at steady state for exogenous variables --- matlab/discretionary_policy_1.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/matlab/discretionary_policy_1.m b/matlab/discretionary_policy_1.m index 038554618..fd0416304 100644 --- a/matlab/discretionary_policy_1.m +++ b/matlab/discretionary_policy_1.m @@ -78,7 +78,8 @@ it_ = MaxLag + 1 ; if exo_nbr == 0 oo_.exo_steady_state = [] ; end -[junk,jacobia_] = feval([M_.fname '_dynamic'],z, [oo_.exo_simul ... + +[junk,jacobia_] = feval([M_.fname '_dynamic'],z, [zeros(size(oo_.exo_simul)) ... oo_.exo_det_simul], M_.params, zeros(endo_nbr,1), it_); if any(junk~=0) error(['discretionary_policy: the model must be written in deviation ' ...