From eff4b1a53e4f53ed99c2a3b920b3fc89eb65a224 Mon Sep 17 00:00:00 2001
From: Ferhat Mihoubi <ferhat.mihoubi@univ-evry.fr>
Date: Fri, 16 Mar 2012 14:45:26 +0100
Subject: [PATCH] The first argument required to call the _steadystate.m file
 is the matrix of endogenous variables

---
 matlab/dynare_estimation_1.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/matlab/dynare_estimation_1.m b/matlab/dynare_estimation_1.m
index fc4ec91fc3..5799ff2cd3 100644
--- a/matlab/dynare_estimation_1.m
+++ b/matlab/dynare_estimation_1.m
@@ -71,7 +71,7 @@ if ~isempty(estim_params_)
 end
 if options_.steadystate_flag% if the *_steadystate.m file is provided.
     [ys,tchek] = feval([M_.fname '_steadystate'],...
-                       [zeros(M_.exo_nbr,1);...
+                       oo_.steady_state, [zeros(M_.exo_nbr,1);...
                         oo_.exo_det_steady_state]);
     if size(ys,1) < M_.endo_nbr 
         if length(M_.aux_vars) > 0
-- 
GitLab