From 93a294c6fd7c477fd512228663d0cc86c8e137f0 Mon Sep 17 00:00:00 2001
From: Michel Juillard <michel.juillard@ens.fr>
Date: Thu, 20 May 2010 09:38:47 +0200
Subject: [PATCH] osr: bug correction when there are auxiliary variables
 (cherry picked from commit 7e73744b1303f166b8450bd2886d872b8960eee5)

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

diff --git a/matlab/osr1.m b/matlab/osr1.m
index 29fbe2ab63..18a4fe6868 100644
--- a/matlab/osr1.m
+++ b/matlab/osr1.m
@@ -51,7 +51,7 @@ if exist([M_.fname '_steadystate'])
             ys = add_auxiliary_variables_to_steadystate(ys,M_.aux_vars,...
                                                         M_.fname,...
                                                         oo_.exo_steady_state,...
-                                                        oo_.exo_det_steady_state);
+                                                        oo_.exo_det_steady_state,M_.params);
         else
             error([M_.fname '_steadystate.m doesn''t match the model']);
         end
-- 
GitLab