From 81e92137d5b9298d95dde98c3353417df850abef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Mon, 27 May 2013 17:32:18 +0200
Subject: [PATCH] Revert "Reset oo_.{exo_}steady_state to zero before endval"

This reverts commit 6cba6091d5078a9bdf73894fd1f5c0013f272db7.
---
 preprocessor/NumericalInitialization.cc | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/preprocessor/NumericalInitialization.cc b/preprocessor/NumericalInitialization.cc
index 21d79542db..98327d6638 100644
--- a/preprocessor/NumericalInitialization.cc
+++ b/preprocessor/NumericalInitialization.cc
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2003-2013 Dynare Team
+ * Copyright (C) 2003-2012 Dynare Team
  *
  * This file is part of Dynare.
  *
@@ -165,9 +165,7 @@ EndValStatement::writeOutput(ostream &output, const string &basename) const
          << "%" << endl;
   // Writing endval block to set terminal values for variables
   output << "ys0_= oo_.steady_state;" << endl
-         << "ex0_ = oo_.exo_steady_state;" << endl
-         << "oo_.steady_state = zeros(size(ys0_));" << endl
-         << "oo_.exo_steady_state = zeros(size(ex0_));" << endl;
+         << "ex0_ = oo_.exo_steady_state;" << endl;
 
   writeInitValues(output);
 }
-- 
GitLab