From ee783a1f792957064e22e012bc180a0c7bd07dd7 Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Mon, 24 Apr 2017 16:29:28 +0200
Subject: [PATCH] preprocessor: fix bug introduced in
 3ea37bb2f83b2011d6fb6ed24842b3223aecf1fc

---
 preprocessor/ExprNode.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/preprocessor/ExprNode.cc b/preprocessor/ExprNode.cc
index 55d7385e5c..a96c6a5c5e 100644
--- a/preprocessor/ExprNode.cc
+++ b/preprocessor/ExprNode.cc
@@ -769,7 +769,7 @@ VariableNode::writeOutput(ostream &output, ExprNodeOutputType output_type,
           break;
         case oMatlabOutsideModel:
           assert(lag == 0);
-          output <<  "steady_state_x(" << i << ")";
+          output << "oo_.exo_steady_state(" << i << ")";
           break;
         case oMatlabDynamicSteadyStateOperator:
           output <<  "steady_state_x(" << i << ")";
-- 
GitLab