From 20f99186ce00a5155431175d793b5fe711d14337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Scylla=29?= <stephane.adjemian@univ-lemans.fr> Date: Wed, 16 Aug 2017 23:29:15 +0200 Subject: [PATCH] Fixed incomplete commit 1a4257ac4bd75f1db6988a650ef79c2cb9f4cc40. (cherry picked from commit 542982171946421970d580e5fed9e727c3f2a976) --- matlab/perfect-foresight-models/sim1_linear.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/perfect-foresight-models/sim1_linear.m b/matlab/perfect-foresight-models/sim1_linear.m index 72a44ff9dd..af75a61b78 100644 --- a/matlab/perfect-foresight-models/sim1_linear.m +++ b/matlab/perfect-foresight-models/sim1_linear.m @@ -113,7 +113,7 @@ z = steadystate_y([ip; ic; in]); x = repmat(transpose(steadystate_x), 1+M.maximum_exo_lag+M.maximum_exo_lead, 1); % Evaluate the Jacobian of the dynamic model at the deterministic steady state. -[d1, jacobian] = dynamicmodel(z, x, params, steadystate_y, M.maximum_lag+1); +[d1, jacobian] = dynamicmodel(z, x, params, steadystate_y, M.maximum_exo_lag+1); % Check that the dynamic model was evaluated at the steady state. if max(abs(d1))>1e-12 -- GitLab